/* 검색창시작 */
.search{
    width: 100%;    
    padding: 2rem;
    border: 1px solid #4F4F4F;
    border-radius: .6rem;
    background: #333;
    box-shadow: .3rem .3rem 1rem rgba(0,0,0,.1), -.3rem 0 1rem rgba(0,0,0,.1);
    display: grid;
    grid-template-columns: 7rem 1.3fr .8fr .9fr 8rem;
    gap: 1rem;
    margin:1rem 0;
}
.search > div{
    display: flex;
    align-items: center;
    font-size: 1.6rem;
}
.search .p{
    color: var(--sub-txt-color);
}
.search > div:nth-child(2){
    grid-column: auto / span 4;
}
.search > div:nth-child(4){
    grid-column: auto / span 3;
}
.searchBtn{
    width: 100%;
    background: var(--act-txt-color);
    color: var(--select-txt-color);
    border-radius: .3rem;
    display: flex;
    justify-content: center;
    cursor: pointer;
}
input{
    width: 100%;
    height: 100%;
}
input::placeholder{
    letter-spacing: -.1rem;
}
.textbox:before { 
    content: '\f002';
    font-family: fontAwesome;
    font-size: 2rem;
    position: absolute;
    top:.9rem;
    right: 3rem; 
    width: 0;
    height: 0;
    color: var(--select-main-color) ;
} 
.textbox label { 
    width: 100%;
    color: var(--main-txt-color);
    cursor: text; 
}
.textbox input[type="text"]{
    width: 100%;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--main-txt-color);
}
.auctSelect{
    display: flex;
    padding: 1rem 1.5rem 1rem 0;
    margin-top: -.5rem;
    color: var(--sub-txt-color);
}
.auctSelect label{
    font-size: 1.4rem;
    margin-right: 1rem;
}
/* 셀렉트메뉴 */
.selectbox {
    width: 100%;
    border: 1px solid var(--select-main-color);
    background: #2b2b2b;
    font-family: Roboto;
    height: 4.2rem;
    /* height: 10rem; */
}
.selectbox:before { 
    font-size: 1.6rem;
    top: 1rem; 
    color: var(--sub-txt-color);
}
.selectbox label {   
    font-size: 1.4rem;
    top:.2rem;
    color: var(--sub-txt-color);
}
/* 셀렉트메뉴 */
/* 검색창끝 */
.tableList{
    display: table;
    border-collapse:collapse;
    font-size: 1.6rem;    
    color:#9d9d9d;
    text-align: center;
    width: 100%;
}
.tableList .row{
    display: table-row;
    cursor: pointer;
}
.tableList .row:first-child{
    top: 0;
    position: sticky;
    background: #222; 
}
.tableList > div:first-child{    
    font-weight: 500;
}
.tableList > div:nth-child(2n+3){
    background: #444;
}
.tableList .cell {
    display: table-cell; 
    padding: 1.4rem;    
}
.cell.num{
    font-family: 'Roboto';
}
.offerList::-webkit-scrollbar {
    width:20px;
    background-clip: padding-box;
    border: 6px solid transparent;
}
.offerList::-webkit-scrollbar-thumb {
    background: var(--sub-txt-color);
    border-radius: 12px;
    background-clip: padding-box;
    border: 8px solid transparent;
    min-height: 20px;
}
.offerList::-webkit-scrollbar-track {
    background-color: var(--select-main-color);   
    background-clip: padding-box;
    border: 9px solid transparent;
}
@media (max-width:450px){
    .title > div:not(inhertis){
        line-height: normal;       
    }
    .title > span{
        line-height: 4rem;
    }
	/*
    .tableList .row > div:nth-child(5){
        display: none;
    }
	*/

 .tableList .row > div:nth-child(2){
 
 display: block;
 
 }

 .tableList .row > div:nth-child(3){
 
 display: none;
 
 }

 .tableList .row > div:nth-child(5){
 
 display: none;
 
 }

  .tableList .row > div:nth-child(6){
 
 display: none;
 
 }

  .tableList .row > div:nth-child(7){
 
 display: block;
 
 }

    .selectbox {
        height: 3.8rem;
    }
    .search{
        gap:.5rem
    }

.selectbox.auctionNumber{        
        grid-column: 2 / 4;
        grid-row: 3;
}
 .selectbox.auctionEpisode{        
        grid-column: 4;
        grid-row: 3;
}

}
@media (max-width:550px){
    .title{        
        justify-content: space-between;
    }
    .submenuNav .cell{
        padding: 0 1rem;
    }
     /* 검색부분 시작 */
     .search > div:nth-child(1),.search > div:nth-child(3), .search > div:last-child, .search > div:nth-child(6){
        display: none;
    }
    .search > div:nth-child(2){
        grid-column: span 4;
    }
    .search > div:nth-child(4){
        grid-column: span 3;
    }
    .search:not(inherits){
        grid-template-columns: 1.6fr .8fr .8fr .8fr;
        padding: 1rem;
    }
    .selectbox label:not(ihertis), .selectbox select:not(ihertis) { 
        padding: 0 1rem; /* 여백과 높이 결정 */
    }
    .selectbox select option:not(ihertis){
        font-size: 1.3rem;
    }
    /* 검색부분 끝 */   
    .tableList .row > div:nth-child(3){
        display: none;
    }
    .tableList .cell {
        font-size: 1.6rem; 
    }
}
@media (max-width:767px){
    body, html{
        font-size: 50%;
    }    
    .title:not(inhertis){
        padding: 1rem 2rem;
    }
    .title > span{
        font-size: 2rem;
        letter-spacing: -.1rem;
    }
    .submenuNav{
        margin-top:0;
    }
    .submenuNav > div:first-child > div{       
        display: none;
    }
    .submenuNav .cell.col2{
        color:var(--act-txt-color);
    }    
    .search{       
        gap : .5rem;
    }
    .tableList .row > div:nth-child(8){
        display: none;
    }
    .tableList .cell {
        padding: 1.5rem .5rem;    
    }
    .textbox input[type="text"]{
        font-size: 1.3rem;
    }
    .selectbox label, .selectbox select option:not(inhertis) {
        font-size: 1.3rem;
    }
    footer > div > div:last-child > div:nth-child(-n+2){
        display: none;
    }
}
@media (max-width: 991px) {
    body, html{
        font-size: 56.25%;
    }
    .title{
        padding: 2rem;
    }
    .submenuNav .cell {
        font-size: 1.4rem;
    }
}
@media (max-width:1200px){
    header, section{
        width: 100%;
    }
}