/*V250717-2*/

header.header {
    background-color: #000000 !important;
    box-shadow: none !important;
    position: relative;
    text-align: center;
    z-index: 13 !important;
    padding: 0 !important;
}

a.backbutton {
    position: absolute;
    left: 34px;
    top: 50%;
    transform: translate(0, -50%);
    max-width: 140px;
}

.baic {
    position: relative;
    display: block;
    padding: 10px 0;
}

.fixedmenu {
    display: none;
    padding: 10px 30px !important;
    width: 100%;
    max-width: 1150px;
    margin: auto;
}

.fixedmenu_box {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    align-items: center;
}

.fixedmenu_box a.fixelogo {
    margin-right: 10px;
}

.fixedmenu_box .div-filter form {
    gap: 0px;
}

.fixedmenu_box .grid_one,
.fixedmenu_box .grid_two {
    column-gap: 0px!important;
}

.fixedmenu_box .div-filter .custom-select {
    font-size: 14px;
}

header.header.floating .fixedmenu {
    display: block;
}

header.header.floating .baic {
    display: none;
}

a.fixelogo {
    max-width: 80px;
    line-height: 0;
}

.fixedmenu .div-filter .custom-select {
    padding: 6px 30px 6px 20px;
    margin-right: 5px;
}

.div-filter button,
.div-filter input,
.div-filter select,
.div-filter optgroup,
.div-filter textarea {
    line-height: 130%!important;
}

.fixedmenu_box .div-filter button {
    font-size: 16px;
}

.div-filter button {
    font-size: 22px;
}


/*filter-search-box*/

.venue-filter-container {
    background-color: #F6F6F6;
    position: relative;
    overflow: hidden;
}

.div-filter .grid_one,
.div-filter .grid_two,
.div-filter .grid_three {
    display: flex;
    column-gap: 10px;
}

.div-filter-search-box {
    padding: 10px 0px;
}

.div-filter {
    position: relative;
}

.div-filter form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.div-filter select {
    padding: 0 50px 0 20px;
    border-radius: 10px;
    border: 1px solid #b1b1b1;
}

.div-filter .custom-select {
    appearance: none;
    /* 移除預設箭頭 */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    padding: 6px 40px 6px 20px;
    /* 右邊留空間給箭頭 */
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='red' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
}

.div-filter button {
    padding: 0 32px;
    background: #E10000 !important;
    border-radius: 10px;
    letter-spacing: 0.2em;
    font-size: 14px;
}


/*filter */

section#filter {
    width: 100%;
    position: relative;
    display: block;
    margin-bottom: 25px;
}

.venue-filter-container {
    border: 1px solid #989898;
    border-radius: 10px;
    overflow: hidden;
}

.venue-filter-container .title h2 {
    font-size: 18px;
    text-align: center;
    font-weight: 400;
    line-height: 180%;
    margin-bottom: 0;
}

.venue-filter-container .title h2 span {
    position: relative;
}

.venue-filter-container .title {
    position: relative;
    border-bottom: 1px solid #989898;
}

.venue-filter-container .title h2 span:after {
    width: 100%;
    height: 2px;
    bottom: -5px;
    background: #E10000;
    position: absolute;
    content: '';
    left: 0;
}

.home .venue-filter-container .title h1 span:after {
    width: 100%;
    height: 2px;
    bottom: -5px;
    background: #E10000;
    position: absolute;
    content: '';
    left: 0;
}

@media only screen and (max-width: 1200px) {
    .home .venue-filter-container .title h1 {
        font-size: 15px!important;
    }
}

@media only screen and (max-width: 768px) {
    .home .venue-filter-container .title h1 {
        padding: 10px 0!important;
    }
}


/*search icon*/

.input-with-icon {
    position: relative;
    display: inline-block;
}

.input-with-icon svg {
    position: absolute;
    left: 10px;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

.div-filter input::placeholder {
    color: #D4D4D4;
    /* 灰色 */
    opacity: 1;
    /* 預設 placeholder 有透明度 */
    font-size: 14px;
    line-height: 130%!important;
}


/* 增加 padding 讓文字靠右一點 */

.div-filter input[type="text"] {
    padding: 6px 20px 6px 40px!important;
    border-radius: 10px !important;
}

@media only screen and (max-width: 1200px) {
    header.header.floating .fixedmenu {
        padding: 10px 15px !important;
    }
    .fixedmenu_box {
        justify-content: space-evenly;
        width: 100%;
        align-items: center;
    }
    .fixedmenu_box .div-filter form {
        gap: 5px;
    }
    .fixedmenu_box .div-filter {
        width: 100%;
    }
    .fixedmenu .div-filter .custom-select {
        padding: 5px 30px 5px 10px;
    }
    .fixedmenu .custom-select {
        font-size: 12px;
    }
    .fixedmenu_box .grid_one,
    .fixedmenu_box .grid_two {
        column-gap: 5px!important;
    }
    a.fixelogo {
        display: none;
    }
    .div-filter form {
        justify-content: center;
        gap: 5px;
    }
    .venue-filter-container .title h2 {
        font-size: 15px;
    }
    .div-filter-search-box {
        padding: 10px 10px;
    }
    /*
    .div-filter .custom-select {
        padding: 10px 20px 10px 10px;
        font-size: 16px;
        border-radius: 7px;
    }*/
    /*
    .div-filter button {
        padding: 0 10px;
        border-radius: 5px;
        min-width: 70px;
    }*/
}

@media only screen and (max-width: 1024px) {
    header {
        padding: 10px 0 !important;
    }
    .logo img,
    .floating .logo img {
        max-width: 193px !important;
    }
}

@media only screen and (max-width: 768px) {
    .venue-filter-container .title h2 span:after {
        bottom: -13px;
    }
    .div-filter form {
        flex-wrap: wrap;
    }
    .div-filter form {
        display: block;
    }
    /*header*/
    a.backbutton {
        display: none;
    }
    .div-filter .custom-select,
    .div-filter input[type="text"],
    .div-filter button {
        border-radius: 5px !important;
        width: 100%;
    }
    .div-filter .grid_one,
    .div-filter .grid_two,
    .div-filter .grid_three {
        display: grid;
        grid-column-gap: 5px;
        margin-bottom: 5px;
    }
    .div-filter .grid_one,
    .div-filter .grid_three {
        grid-template-columns: 3fr 2fr;
    }
    .div-filter .grid_two {
        grid-template-columns: 2fr 3fr;
    }
    .div-filter section#filter {
        margin-bottom: 14px;
    }
    .div-filter-search-box {
        padding: 8px 13px;
    }
    .venue-filter-container .title h2 {
        padding: 10px 0;
    }
    .div-filter button {
        margin: auto;
        display: block;
        padding: 7px 0px !important;
        font-size: 16px;
    }
    /*
    .div-filter button {
        margin: auto;
        display: block;
        padding: 7px 24px !important;
        font-size: 16px;
    }*/
    /*fixedmenu*/
    .fixedmenu_box .div-filter .custom-select {
        font-size: 14px;
    }
}