/* 검색창시작 */
.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;
}
.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.5rem;    
    color:var(--sub-txt-color);   
    width: 100%;
}
.tableList .row{
    display: table-row;
}
.tableList .cell {
    display: table-cell; 
    padding: 2.5rem 1.4rem;    
}
.cell.dltGrid{
    display: grid;
    grid-template-columns: 4fr 1fr;
    grid-gap: 2rem;
    width:100%;
    border-bottom: 1px solid #444;
}
.cell.dltGrid > span:first-child{
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: -.1rem;
    color: var(--act-txt-color);
    cursor: pointer;
 }
.cell.dltGrid > span:nth-child(2){
   font-size: 1.4rem;
   font-family: 'Roboto';
   text-align: right;
   line-height: 2.8rem;   
}
.cell.dltGrid > div:last-child{
    text-align: right;
 }
.cell.dltGrid > div:last-child span{
    padding: 1rem 2rem;
    border-radius: .4rem;
    font-size: 1.4rem;
    color: var(--act-txt-color);
    background: var(--select-main-color);
    box-shadow: .3rem .3rem 1rem rgba(0,0,0,.1), -.3rem 0 1rem rgba(0,0,0,.1);
    cursor: pointer;
 }
.dlt_info{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
    grid-gap: 1rem;
    align-items: stretch;    
}
.dlt_info p{
    display: inline-block;
    font-size: 1.5rem;    
}
.dlt_info p:first-child{
    padding-right: 1rem;
    font-weight: 400;
    color: var(--main-txt-color);
}
#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(7){
        display: none;
    }
    .selectbox {
        height: 3.8rem;
    }
    .search{
        gap:.5rem
    }
    .cell.dltGrid{
        grid-template-columns: 1fr;
        grid-gap: 1rem 2rem;
    }
    .cell.dltGrid > span:first-child{
        font-size: 1.6rem;
     } 
    .dlt_info{
        grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
        gap: .5rem;
    }
     .dlt_info p{
        font-size: 1.5rem;    
    }   
}
@media (max-width:550px){
    .title{        
        justify-content: space-between;
    }
    .submenuNav .cell{
        padding: 0 1rem;
    }
    /* 컨텐츠 상단타이틀 & 드롭다운메뉴 시작*/
    .termsTitle{
        padding: 1rem 1rem 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; /* 여백과 높이 결정 */        
    }
    /* 검색부분 끝 */   
    .tableList .cell {
        font-size: 1.5rem;    
    }
    .listSum{
        padding: 2rem;
        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;
    }
    /* 컨텐츠 상단타이틀 & 드롭다운메뉴 시작*/
    .termsTitle > span{
        font-size: 2.2rem;
    }
    .termsTitle > span{
        font-size: 2.4rem;
    }
    /* 컨텐츠 상단타이틀 & 드롭다운메뉴 끝 */
    .submenuNav{
        margin-top:0;
    }
    .submenuNav > div:first-child > div{       
        display: none;
    }
    .submenuNav .cell.col1{
        color:var(--act-txt-color);
    }
    .search{       
        gap : .5rem;
    }
    .tableList .row > div:nth-child(8), .tableList .row > div:nth-child(6){
        display: none;
    }
    .tableList .cell {
        padding: 1.6rem .5rem;    
    }
    .textbox input[type="text"]{
        font-size: 1.3rem;
    }
    .selectbox label, .selectbox select option:not(inhertis) {
        font-size: 1.3rem;
    }
    .cell.dltGrid span:last-child{
        grid-column: 1/2;
        grid-row: 3/4;
    }
    .dlt_info{
        grid-column: span 2;
    }
    .cell.dltGrid > div:last-child{
        padding: 1rem 0 2rem 0;
        text-align: left;
     }
    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;
    }
    .tableList .row > div:nth-child(9){
        display: none;
    }
}
@media (max-width:1200px){
    header, section{
        width: 100%;
    }
}