﻿main section.section-result {
    position: relative;
    top: 47px;
    left: 0;
    right: 0;
    height: 100%;
    margin-top: 100px;
    padding-top: 20px;
    z-index: 99;
}

.section-result .content-wrapper {
    width: 1060px;
    height: 100%;
    margin: 0 auto;
    padding-bottom: 30px;
}

.result-top .search-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.section-result .result-bottom {
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

nav.field-breadcrumb {
    --bs-breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='%23808080'/%3E%3C/svg%3E");
    color: #808080;
    font-size: 0.9rem;
}

/*@media (min-width: 768px) {
    .content-container {
        width: 700px;
    }
}*/


/* ------------------------------- Search-wrapper ------------------------------------- */

.search-wrapper {
    height: 100px;
    padding: 20px 0;
}

    .search-wrapper .select-col {
        height: 50px;
        padding: 0 5px;
        overflow: hidden;
    }

.select-col.select-location {
    width: 500px;
}

    .select-col.select-location.open {
        height: 700px;
        z-index: 101;
    }

.select-input {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: #F5F7F9;
    height: 50px;
    /*line-height: 50px;*/
    border-radius: 0.5rem;
    border: 1px solid #D9D9D9;
}

    .select-input.mobile {
        display: none;
    }

.search-wrapper button.search {
    width: 100px;
    height: 50px;
    background-color: #6497EE;
    color: #fff;
}

.select-option {
    position: relative;
    width: 100%;
    height: 610px;
    margin-top: 5px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgb(0 0 0 / 30%);
    z-index: 101;
}

    .select-option .form-check-input[type="checkbox"].radio-check {
        border-radius: 50%;
    }

        .select-option .form-check-input[type="checkbox"].radio-check:checked {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
        }

.option-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

    .option-header > div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 5px 5px 0 0;
    }

.area-group {
    background: #F5F7F8;
}

    .area-group .nav-pills .nav-link {
        font-size: 14px;
        color: #4D94E6;
        border: 1px solid #4D94E6;
        border-radius: 5px;
        padding: 3.7px 7.5px;
    }

.btn-group > .btn-group:not(:first-child) > .btn, .btn-group > .btn:nth-child(n+3), .btn-group > :not(.btn-check) + .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.area-group .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #4D94E6;
}

.btn-outline-agl-blue {
    --bs-btn-color: #4A6388;
    --bs-btn-border-color: #4A6388;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #4A6388;
    --bs-btn-hover-border-color: #4A6388;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #4A6388;
    --bs-btn-active-border-color: #4A6388;
    --bs-btn-disabled-color: #4A6388;
    --bs-btn-disabled-border-color: #4A6388;
}

.select-option .form-check {
    display: flex;
    align-items: center;
    font-size: 16px;
}

    .select-option .form-check label.form-check-label {
        height: 36px;
        display: flex;
        align-items: center;
        margin-left: 7px;
    }

.option-body .form-check label.form-check-label {
    /*width: 70%;*/
}

.location-group {
    height: 535px;
    overflow: overlay;
}

.check-option-list .form-check.check-all {
    padding-left: 35px;
}

.form-check.area-loc {
    display: none;
}

    .form-check.area-loc.show {
        display: flex;
    }

.check-option-depth span {
    height: 36px;
    width: 100px;
}

.check-all-depth span img {
    transform: rotateX(0);
    transition: transform 0.2s;
}

.check-all-depth.select span img {
    transform: rotateX(180deg);
}

.check-option-depth .form-check.check-all-depth {
    padding-left: 50px;
}

.check-option-depth .form-check {
    padding-left: 70px;
}

.check-option-list .form-check:hover {
    background-color: #E7F1FF;
}

.option-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 52px;
    padding-right: 7px;
    background-color: #fff;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0 0 5px 5px;
    z-index: 101;
    display: none;
}

button.agl-common {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 36px;
    font-size: 16px;
    background: #69A9ED;
    border-radius: 4px;
    transition: 0.2s;
    color: #fff;
}

    button.agl-common:hover {
        background: #4D94E6;
    }

/* ------------------ Club List ---------------------- */
.item-list .itemlist-wrapper:not(:last-of-type) {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 3rem;
}

.item-list ul.field-list {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 3rem;
}

.item-list ul li a {
    width: 100%;
}

.item-list .item-wrap {
    width: 250px;
    margin: 24px 7px 0px 8px;
    height: 311px;
}

.result-inner {
    width: 100%;
    height: 311px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    transform: scale(1);
    transition: 0.2s;
    cursor: pointer;
}

    .result-inner:hover {
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    }

    .result-inner .club-img {
        position: relative;
        width: 100%;
        height: 166px;
        background-size: cover;
        border-radius: 10px 10px 0 0;
    }

        .result-inner .club-img.no-time::before {
            position: absolute;
            content: "";
            height: 100%;
            top: 50%;
            left: 0;
            right: 0;
            transform: translateY(-50%);
            background-color: rgba(0, 0, 0, 0.3);
            border-radius: 10px 10px 0 0;
            z-index: 1;
        }

        .result-inner .club-img.no-time::after {
            content: "Coming soon";
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            transform: translateY(-50%);
            text-align: center;
            color: #fff;
            font-weight: 500;
            font-size: 1.3rem;
            z-index: 2;
        }

    .result-inner .club-info {
        padding: 0 20px;
        height: 145px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

        .result-inner .club-info .club-name {
            padding-top: 10px;
        }

            .result-inner .club-info .club-name p {
                font-size: 12px;
                color: rgba(0, 0, 0, 0.5);
                margin-bottom: 0;
            }

        .result-inner .club-info .club-address {
            padding-bottom: 20px;
            display: block;
        }

.club-address > div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
}

.club-address p.badge-realtime {
    font-size: 0.8rem;
    color: #6c757d;
}
/*    .club-address p.club-price {
        font-size: 1rem;
        font-weight: bold;
    }*/

/* 모바일 대응
------------------------------------------------- */
@media (max-width: 1059px) {
    main section.section-result {
        margin-top: 0;
        padding-top: 0;
    }

    .section-result .content-wrapper {
        width: 100vw;
        height: 100%;
        margin: 0 auto;
        padding: 0 20px;
    }

    .result-top .search-wrapper {
        width: 100%;
        height: 80px;
        padding: 10px 0;
    }

    .result-top .search-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .select-col.select-location {
        width: 100%;
        height: 60px;
    }

        .select-col.select-location.open {
            height: 415px;
        }

    .select-input {
        height: 50px;
    }

        .select-input.mobile {
            display: flex;
        }

        .select-input.mobile-none {
            display: none;
        }

    .select-option {
        height: 347px;
    }

    .area-group .nav-pills .nav-link {
        font-size: 0.9rem;
        padding: 5px 5px;
    }

    .select-option .form-check {
        font-size: 1.2rem;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
    }

    .location-group {
        height: 280px;
        /* padding-bottom: 60px; */
    }

    .option-footer {
        height: 60px;
    }

    .section-result .result-bottom {
        border-top: 0;
    }

    .item-list .itemlist-wrapper:not(:last-of-type) {
        border-bottom: 0;
        margin-bottom: 5rem;
    }

    .item-list ul.field-list {
        display: block;
        flex-wrap: wrap;
        padding: 0;
    }

    .item-list ul li a {
        width: 100%;
    }

    .item-list .item-wrap {
        width: 100%;
        height: 100%;
        margin: 0;
    }

    .result-inner {
        width: 100%;
        height: 150px;
        padding: 20px 0;
        background: #FFFFFF;
        border-radius: 0;
        border: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);
        cursor: pointer;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }

        .result-inner:hover {
            box-shadow: 0;
        }

        .result-inner .club-img {
            width: 100px;
            height: 100px;
            background-size: cover;
            border-radius: 10px;
        }

            .result-inner .club-img.no-time::before {
                height: 100%;
                border-radius: 10px;
            }

            .result-inner .club-img.no-time::after {
                line-height: 20px;
            }

        .result-inner .club-info {
            padding: 0 0 0 1rem;
            height: 100%;
            width: calc(100% - 100px);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

            .result-inner .club-info .club-name {
                padding-top: 0;
            }

                .result-inner .club-info .club-name p {
                    font-size: 0.9rem;
                    color: rgba(0, 0, 0, 0.5);
                    margin-bottom: 0;
                }

                .result-inner .club-info .club-name h6 {
                    font-size: 1.1rem;
                }

            .result-inner .club-info .club-address {
                padding-bottom: 0;
            }

    .club-address p.badge-realtime {
        font-size: 1rem;
    }

    .club-address .club-price p {
        font-size: 1.2rem;
        font-weight: bold;
    }
}
