﻿

/*유형고르기 옵션*/

.n_post{
    color:#888888;
    float: right;
    margin-top: 9px;
    font-weight: bold;
    line-height: 40px;
}

.n_post span{
    color:var(--primary-color);
    font-weight: bold;
}



.card_bottom{
    margin-top: 20px;
    border-top: 1px solid #D4D4D4;
}

/*이벤트 박스*/
.eventon{
    padding-top: 30px;
    width: 98%;
    margin: auto;
    margin-top: 20px;

}
.e_box{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.minievent{
    width: 32%;
    height: 318px;
    border-radius: 20px;
    border: 1px solid #D4D4D4;
    overflow: hidden;
    margin-bottom: 20px;
}

.minievent:hover{
    cursor:pointer;
}
.event_img{
    width:100%;
    background-image:url('/common/img/eventboard/eventboard.png');
    background-position: center;
    background-attachment: local;
    height:227px;
    background-repeat: no-repeat;
    }
.event_tit {
    width: 100%;
    height: 90px;
    border-top: 1px solid #C3C3C3;
    padding: 15px 20px;
}

.event_tit h3 {
    font-weight: 700;
}

.event_tit p {
    font-size: 14px;
    color: gray;
    margin-top: 10px;
}

.event_tit2 {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.event_tit2 h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1; /* to take up remaining space */
    margin-right: 10px; /* space between h3 and span */
}
.now{
    font-size:13px;
    width:auto;
    height:auto;
    background: var(--orange-color);
    color: #fff;
    padding:5px 10px;
    border-radius:20px;
    /*margin-left:10px;*/
    vertical-align: middle;
}

.end{
    font-size: 13px;
    width: auto;
    height: auto;
    background: #000;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
}

.preving{
    font-size: 13px;
    width: auto;
    height: auto;
    border: 1px solid #a0a0a0;
    color: #a0a0a0;
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 10px;
}




.white{
    width:205px;
    height:74px;
    border-radius: 15px;
    border: 1px solid #BFBFBF;
    background: #C0C0C0;
    color: #fff;
    margin:auto;
    margin-top:60px;
    display: block;
}



/*당첨자 게시판박스*/
table {
    margin-top: 20px;
    table-layout: auto;
}

thead{
    background:#F8F8F8;
    color:#545454;
}

table tr td:first-child {
    width: 100px !important;
    text-align: center;
}

table tr td:nth-child(3){
    text-align:center;
}

table tbody tr {
    border-spacing: 0 5rem !important;
    border-bottom: 1px solid #c6c6c6 !important;
 }

table tbody tr:hover{
    cursor: pointer;
    background: #ececec;
    transition: all 0.2s ease;
}

table tr td:nth-child(2) {
   width: auto;
   text-indent:20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 350px;
}
table tr td:nth-child(3) {
      color: #6D6D6D;
       width:200px !important;

}
table tr td:last-child {
    width: 100px !important;
    text-align: center;
    color: #6D6D6D;
}



/*페이지수 pagination*/

.pagenation{
    width:400px;
    height:auto;
    margin:auto;
    display:flex;
    /*justify-content:space-between;*/
    justify-content:center;
    align-items: end;
    margin-top: 59px;
}

.pagenation li{
    float:left;
    line-height: 8px;
    padding-left: 12px;
    padding-right: 12px;
}
.p_txt{
    font-weight:bold;
}
.pagenation li:hover{
    cursor:pointer;
}

.onpage{
    font-weight:bold;
    color:var(--primary-color);
}






@media(max-width:1200px) {
    .e_box{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

}

@media (max-width: 830px) {
    .minievent {
        width: 49%;
    }
}

@media(max-width:768px){

     .b_scro {
    width: 100% !important;
    padding: 0px !important;
}
    .opt_obj input[type="radio"] + span {
        font-size: 14px;
        height: 44px;
        line-height: 44px;
    }


    .b_scro{

    white-space: nowrap;
    overflow: scroll;
}

    table tr {
    height: 60px; 
    display: table-row;
}
    table tr td{
        padding:0;
        font-size: 14px !important;
    }
    table tr td:first-child {
    width: 50px !important;
}

    table tr td:last-child {
        width: 90px !important;
    }
    table tr td:nth-child(2) {
    width: auto;
     text-indent: 0px; 
}
    .pagenation li {
    font-size: 14px;
}
    .n_post {
    font-size: 14px;
}

        .white {
        width: 190px;
        font-size: 14px;
        height: 58px;
        margin-top: 40px;
    }
}
@media(max-width:480px) {

    table thead tr th:first-child {
    display: none;
    }

    table tr td:first-child {
    display: none;
    }

    table thead tr th:nth-child(3) {
    display: none;
    }

    table tr td:nth-child(3) {
    display: none;
    }


    table tr td:nth-child(2) {
    padding-left: 10px;
    }
    table thead {
    font-size: 14px;
    }

    table tr {
    height: 50px;
    }

    table tr td {
    font-size: 13px !important;
    }
    .event_tit h3{
        font-size:14px;
    }

     .event_tit h3 span{
        font-size:11px;
        vertical-align: text-top;
     }

    .event_tit p {
        font-size: 12px;
        margin-top:5px;
    }

    .event_tit {
        height: auto;
    }
    
    .minievent {
        width: 88%;
        margin: auto;
        margin-bottom: 20px;
    }


    .pagenation {
        width: 100%;
        margin-top: 35px;
    }

    .n_post {
    font-size: 12px;
}
    .card_bottom {
        margin-top: 10px;
    }
        .white {
        width: 170px;
        font-size: 13px;
        height: 50px;
        border-radius:10px;
        margin-top: 20px;
    }

        table tr td:nth-child(2) {
    max-width: 150px;
}
}


@media (max-width: 428px) {
    .minievent{
        width: 100%;
    }
}