body {
    position: relative;
    background-color: #fff;
    word-break: break-all;
    width: 100%;
}

img{
    max-width: 100%;
}

#wrap{
    max-width: 592px;
    height: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

#header {
    width: 100%;
    margin: 0 auto;
}

#header .side_menu i{
    color: #ea5118;
}

#header .head_logo {
    margin: 10px auto;
    width: 59%;
}

#header .head_search {
    display: inline-block;
    height: 42px;
    width: 100%;
    margin-top: 12px;
    padding: 0 4%;
}

#header .head_search .search_box .int{
    display: block;
    position: relative;
    width: 100%;
    height: 34px;
    line-height: 34px;
    border: none;
    background: #f5f5f5;
    font-size: 12px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 10;
    *position: absolute;
    *top: 0;
    *left: 0;
    apperance: none;
    -webkit-apperance: none;
}

.head_search .search_box{
    display: inline-block;
    position: relative;
    width: 100%;
    height: 46px;
    padding: 7px 12px 7px 12px;
    background: #f5f5f5;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    vertical-align: top;
    font-size: 14px;
}

/*
.search_box .main_search{
    position: relative;
    width: 100%;
    height: 22px;
    line-height: 30px;
    border: none;
    background: #fff;
    font-size: 15px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 10;
}
*/

.aside{
    position: absolute;
    top: 2px;
    left: 0;
    width: 64px;
    height: 49px;
}

#container .content .ctg_btn{
    display: grid;
    grid-template-columns: repeat(4, 25%);
    grid-template-rows: 33.3% 33.3%;
    grid-gap: 0;
    margin-top: 5%;
    margin-left: 4%;
    margin-right: 4%;
    border-radius: 10px;
    height: 15em;
    /*
    border-radius: 10px 10px 0 0;
    border-top: 2px solid #aaa;
    border-left: 2px solid #aaa;
    border-right: 2px solid #aaa;
    border-bottom: 0.5px solid lightgrey;
    */
}
#container .content .ctg_btn .bize_ctg:nth-child(-n + 3){
    border-right: 1px solid rgba(220,200,200,0.0);
    border-bottom: 1px solid rgba(220,200,200,0.0);
}

#container .content .ctg_btn .bize_ctg:nth-child(n+5):nth-child(-n+7){
    border-right: 1px solid rgba(220,200,200,0.0);
    border-bottom: 1px solid rgba(220,200,200,0.0);
}
#container .content .ctg_btn .bize_ctg:nth-child(n+9):nth-child(-n+11){
    border-right: 1px solid rgba(220,200,200,0.0);
}

#container .content .ctg_btn .bize_ctg:nth-child(4){
    border-bottom: 1px solid rgba(220,200,200,0.0);
}
#container .content .ctg_btn .bize_ctg:nth-child(8){
    border-bottom: 1px solid rgba(220,200,200,0.0);
}
#container .content .ctg_btn .bize_ctg:nth-child(12){
    border: none;
}

#container .content .ctg_btn, .ctg_btn2{
    text-align: center;
}

#container .content .ctg_btn .bize_ctg img{
    height: 2.5em;
    margin-top: 10px;
}

#container .content .ctg_btn .bize_ctg span{
    color: black;
    font-size: 0.7em;
}

#more_ctg {
    border-radius: 0px 0px 10px 10px;
    border-left: 2px solid #aaa;
    border-right: 2px solid #aaa;
    border-bottom: 2px solid #aaa;
    transition: 600ms ease all;
    text-align: center;
}

#more_ctg .bize_ctg {
    display: inline-block;
    margin-left: 4%;
    margin-right: 4%;
}

#more_ctg .bize_ctg img{
    max-width: 118px;
    height: 50px;
    margin-top: 15px;
    margin-bottom: 5px;
}

#more_ctg .bize_ctg span{
    color: grey;
    font-weight: bold;
}

#ad_banner .banner_place{
    width: 100%;
    text-align: center;
}
#ad_banner .banner_place img{
    max-width: 100%;
}

#chart_ctg{
    width: 100%;
    height: 60%;
}

.chart_line {
    padding-bottom: 5%;
    border-bottom: 7px solid #f0f0f0;
}

#chart_ctg .chart_title{
    display: inline-block;
    margin-top: 5%;
    margin-left: 3%;
    color: #000000;
    font-weight: normal;
    font-size: 1rem;
    letter-spacing: -1px;
}

#chart_ctg .chart_header{
    width: 100%;
}
#chart_ctg .chart_header .chart_title{
    display: inline-block;
    width: 76%;
    margin-top: 5%;
    margin-left: 3%;
    color: #000000;
    font-weight: normal;
    font-size: 1rem;
    letter-spacing: -1px;
    text-align: left;
}
#chart_ctg .chart_header .total_view{
    font-size: 80%;
    display: inline-block;
    width: 15%;
    text-align: right;
    color: #5f5f5f;
}

#chart_ctg .chart_container{
    width: 94%;
    height: 50%;
    margin-left: 3%;
    margin-right: 3%;
}

#chart_ctg .chart_item{
    display: inline-block;
    width: 47% !important;
    margin-right: 2% !important;
    height: 50%;
}

#chart_ctg .chart_list{
    display: inline-block;
    width: 100%;
    height: 100%;
    margin-top: 5px;
    margin-left: 2px;
    margin-bottom: 5px;
    box-sizing: border-box;
}

#chart_ctg .chart_list .bize_img{
    width: 100%;
    height: 100%;
    position: relative;
}

#chart_ctg .chart_list .bize_img img{
    width: 100%;
    height: 15rem;
    border-radius: 4px;
    object-fit: fill;
}

#chart_ctg .chart_list .bize_img i{
    color: #ff5c01;
    position: absolute;
    top: 87%;
    right: 4%;
    font-size: 145%;
}
.bize_img .far{
    opacity: 0.6;
}

#chart_ctg .chart_list .bize_img:hover .fa-heart{
    display: block;
    -webkit-animation: show_heart .4s ease-out;
    -moz-animation: show_heart .4s ease-out;
}

@-webkit-keyframes show_heart {
    0% { opacity: 0; -webkit-transform: translateY(30%); }
    100% { opacity: 1; -webkit-transform: translateY(0); }
}

#chart_ctg .chart_list .bize_title{
    width: 100%;
    margin-top: 1%;
    margin-bottom: 1%;
    font-size: 0.7rem;
    line-height: 170%;
}

#chart_ctg .chart_list .bize_title .thumb_info_1{
    width: 67%;
    display: inline-block;
    vertical-align: middle;
}

.thumb_info_1 .bize_title_name{
    display: block;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.thumb_info_1 .bize_title_addr{
    width: 130%;
    display: block;
    color: #666666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#chart_ctg .chart_list .bize_title .thumb_info_2{
    width: 31%;
    display: inline-block;
    vertical-align: middle;
}
.thumb_info_2 .star_score{
    display: block;
    color: #ff5c01;
    text-align: right;
}
.thumb_info_2 .score{
    display: block;
    color: #ff5c01;
    font-weight: bold;
    text-align: right;
}

#chart_ctg .swiper-container{
    width: 94%;
    height: 50%;
    margin-left: 3%;
    margin-right: 3%;
}

#chart_ctg .swiper-container .swiper-wrapper .swiper-slide{
    width: 48% !important;
    margin-right: 3% !important;
    height: 50%;
}

/*popup_layer css 시작*/
.pop-container{
    position: absolute;
    z-index: 999;
    left: 50%;
    top: 10%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.pop-container .pop-item{
    float: left;
    box-shadow: 0 2px 10px -2px rgb(0 0 0 / 6%), 0 0 1px 0 rgb(0 0 0 / 28%);
}

.pop-container .pop-img {
    position: relative;
}

.pop-item .pop_btn_area{
    width: 250px;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.1);
    display: table;
}
.pop-item .pop_btn_area .btn{
    width: 50%;
    float: none;
    letter-spacing: 0;
    color: #000;
    padding: 12px 0;
    border: 0;
    white-space: normal;
    display: table-cell;
    font-size: 13px;
}

.pop_btn_area .btn+.btn {
    border-width: 0 0 0 1px;
    border-style: solid;
    border-color: rgba(0,0,0,0.1) !important;
    border-radius: 0;
    font-weight: normal;
    margin-left: 0;
}

.pop_btn_area>.btn:first-child {
    margin-left: 0;
}

/*popup_layer css 끝*/

/* smartphone */
@media only screen
and (min-width: 360px)
and (max-height: 1520px)
and (orientation: portrait)
and (-webkit-min-device-pixel-ratio: 2.0) {

    #chart_ctg .chart_list .bize_title .thumb_info_2{
        width: 48%;
    }
    #chart_ctg .chart_list .bize_title .thumb_info_1 {
        width: 49%;
    }
    .thumb_info_1 .bize_title_addr{
        width: 170%;
    }
    #chart_ctg .chart_header .chart_title{
        width: 70%;
    }
    #chart_ctg .chart_header .total_view{
        width: 20%;
    }
    #chart_ctg .chart_list .bize_img img{
        height: 160px;
    }
    #chart_ctg .chart_list .bize_img i{
        top: 82%;
        right: 3%;
    }
}

