.cafe {
    padding-bottom: 50px;
}


/* cafe 카테고리 목록 */
.catlist {
    position: relative;
    margin-top: 5px;
    font-size: 14px;
}

.catlist .ul-tab {
    margin: 0;
    padding: 0 0 10px 0;
    list-style: none;
    border: 0px #efefef solid;
    border-bottom: 0;

}

.catlist .ul-tab li {
    display: inline-block;
    min-width: 50px;
    margin-right: 5px;
    margin-top: 5px;
    padding: 10px 15px;
    text-align: center;
    border: 1px solid #dbdbdb;
    -webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
    box-shadow: inset 0px 1px 0px 0px #ffffff;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(5%, #ffffff), to(#f6f6f6));
    background: linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6', GradientType=0);
    background-color: #ffffff;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
}

.catlist .ul-tab li:hover {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(5%, #f6f6f6), to(#ffffff));
    background: linear-gradient(to bottom, #f6f6f6 5%, #ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#ffffff', GradientType=0);
    background-color: #f6f6f6;
}

.catlist .ul-tab li:active {
    position: relative;
    top: 1px;
}

.catlist .ul-tab li:first-child {
    border-left: 1px solid #dbdbdb;
}

.catlist .ul-tab li:last-child {
    border-right: 1px solid #dbdbdb;
}

.catlist .ul-tab .active {
    color: #08f;
    font-weight: bold;
}

.catlist .sub-wrap {
    position: absolute;
    left: 0;

    width: 100%;
    border-bottom: 0px #ccc solid;
    ;
}

.catlist .sub-wrap .sub-list {

    background-color: #fff;
    border-bottom: 1px #ccc solid;
    border-bottom-width: 1px;
    border-top-width: 1px;
    padding: 10px 5px;
    padding-left: 15px;
    padding-bottom: 15px;
    border-radius: 6px;


}

.catlist .sub-wrap .sub-list:last-child {
    border-bottom: 5px solid #949494;
}

.catlist .ul-sub {
    margin: 5px 0 0 0;
    padding: 0;
    list-style: none;
}

.catlist .ul-sub li {
    display: inline-block;
    width: 138px;
    padding: 7px 10px;
    border: 1px solid #dbdbdb;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 5px 3px;
    background-color: #f6f6f6;
    border-radius: 3px;
}

.catlist .ul-sub li:hover {
    background-color: #e9e9e9;
    font-weight: 700;
}











.catlist .ul-sub li:hover,
.catlist .ul-sub .active {
    color: #08f;
}



/* cafe 카테고리 목록 끝 */


/* cafe 검색창 */
.cafe .cafe-search {
    margin-top: 10px;
    padding: 0px 0px;
    overflow: hidden
}

.cafe-search form {
    margin: 0;
}

.cafe-search table {
    width: 100%;
    border-spacing: 0;
    border: 0;
}

.cafe-search table td {
    padding: 0;
}

.cafe-search .cell-category {}

.cafe-search .cell-button {
    width: 140px;
    text-align: center;
    background-color: rgba(57, 156, 247, 1);
    cursor: pointer;
}

.cafe-search select {
    padding: 12px;
    border: 1px solid #c2c2c2;
    width: 250px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
}

.cafe-search input[type=text] {

    border: 1px solid #c2c2c2;
    background-color: #fff;
    padding: 13px;
    font-size: 14px;
    width: 622px;
    margin: 0 10px;
    border-radius: 6px;
}

.cafe-search input[type=submit] {
    padding: 0;
    border: 0;
    color: #ffffff;
    background-color: rgba(57, 156, 247, 1);
    width: 70px;
    height: 22px;
    font-size: 14px;
    cursor: pointer;
}

/* 카페검색창 끝 */


/* 카페목록 */

.cafe .page-info {
    padding: 5px 0;
    text-align: left;
}

.cafe .cafelist-wrap {
    padding: 10px 0;
}

.cafe .cafelist-wrap .cafe-wrap {
    background-color: white;
    width: 208.9px;
    height: 260px;
    display: inline-block;
    margin: 0 7.9px;
    text-align: left;
    padding: 20px 20px;
    border-radius: 6px;
}

.cafe .cafelist-wrap .cafe-wrap:nth-child(4n+1) {
    margin: 40px 9px 0 0;
}

.cafe .cafelist-wrap .cafe-wrap:nth-child(4n) {
    margin: 0 0 0 9px;
}

.cafe .cafelist-wrap .cafe-wrap:nth-child(1) {
    margin: 0 9px 0 0;
}

.cafe .cafelist-wrap .cafe-wrap .cafe-img {
    width: 210px;
    height: 210px;
    padding: 0px;
    border: 0px #d9d9d9 solid;
}

.cafe .cafelist-wrap .cafe-wrap .cafe-img div {
    width: 210px;
    height: 210px;
    overflow: hidden;
    border-radius: 100%;

}

.cafe .cafelist-wrap .cafe-wrap .cafe-img img {
    width: 210px;
    height: auto;
}

.cafe .cafelist-wrap .cafe-wrap .cafe-img:hover img {
    background: rgba(0, 0, 0, .5);
    opacity: .5;
}


.cafe .cafelist-wrap .cafe-wrap .cafe-cate-title {
    width: 210px;
    margin: 0 auto;
    text-align: center;
    padding: 10px 0;
    color: rgba(46, 86, 255, 1);
}

.cafe .cafelist-wrap .cafe-wrap .cafe-title {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    padding: 0px 0;
    line-height: 150%;
    overflow-y: hidden;
    font-size: 1rem;
}

.vmid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
