.merge-nav {
    height: 60px;
    position: sticky !important;
    font-family: Roboto, Helvetica, Arial, Verdana, sans-serif;
    z-index: 10000 !important;
}

.mc-nav {
    background-color: #fff;
}

.swal2-container {
    z-index: 99999 !important;
    pointer-events: unset;
}
.swal2-confirm{
    pointer-events: all;
}
.logo-img {
    object-fit: contain;
}

.container.container-nav {
    max-width: 1300px;
    padding: 0 50px;

}

.merge-nav .navbar-brand {
    height: initial;
    width: auto;
    padding: 0;
    margin-right: 20px;
}

.merge-nav .navbar-collapse {
    justify-content: end;
    align-self: stretch;
}

.merge-nav .nav-link {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #333333;
    padding: 4px !important;
    line-height: 20px;
}

.merge-nav .navbar-nav {
    align-items: center;
    height: 100%;
}

.merge-nav .nav-item {

    margin: 18px 14px;

    display: flex;
}

.merge-nav .nav-item:first-of-type {
    margin-left: 0;
}

.merge-nav .nav-item:last-of-type {
    margin-right: 0;
}

.merge-nav .offcanvas {
    width: 300px;
}

.merge-nav .offcanvas-nav .nav-link {
    padding: 0 !important;
}

.offcanvas-nav .nav-item {
    margin: 0;
    padding: 15px 0;
    border-bottom: 1px solid #e6e6e6;
    width: 100%;
}

.offcanvas-nav .nav-item:last-of-type {
    border: 0px;
}

.merge-nav .nav-btn {
    border: 0;
    padding: 5px 2px;
    margin-left: 20px;
    display: none !important;
}

.merge-nav .nav-btn:focus,
.merge-nav .nav-btn:active {
    border: 0;
    box-shadow: none;
}

.merge-nav .nav-btn .menu-icon {
    display: inline-flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    transition: .35s;
}

.merge-nav .nav-btn:hover .menu-icon,
.merge-nav .nav-btn:active .menu-icon {
    gap: 3px;
    transition: .2s;
}

.menu-line {
    position: relative;
    height: 2px;
    display: block;
    width: 22px;
}

.menu-line::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    border-radius: inherit;
    box-sizing: border-box;
    background-color: #333;
}

.merge-nav .nav-link {
    position: relative;
}

.merge-nav .nav-link::after {
    content: '';
    bottom: -6px;
    background-color: #1e73be;
    height: 2px;
    position: absolute;
    width: 0;
    left: 0;
    opacity: .85;
    transition: all .3s cubic-bezier(.175, .885, .32, 1.275);
}

.merge-nav .offcanvas-nav .nav-link::after {
    display: none;
}

.merge-nav .nav-link:hover::after,
.merge-nav .nav-link.active::after {
    width: 100%;
    transition: all .3s cubic-bezier(.175, .885, .32, 1.275);
}

.submenu {
    position: relative;
}

.submenu-show {
    display: none;
    height: 100%;
}

.merge-nav .submenu {
    height: 100%;
    align-items: center;
}

.merge-nav .submenu:hover .submenu-show {
    display: flex;
    flex-direction: column;
    position: absolute;
    list-style: none;
    background-color: #fff;
    width: 280px;
    left: 0;
    top: 100%;
    height: auto;
    z-index: 100000;
    padding: 10px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, .2);
    box-sizing: content-box;
}

.submenu-show li {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px;
    transition: .2s;
    cursor: pointer;
    font: 500 13px / 17px "Roboto", Helvetica, Arial, Verdana, sans-serif;
    font-size: 13px;
    font-weight: 500;
    font-family: "Roboto", Helvetica, Arial, Verdana, sans-serif;
    line-height: 17px;
    font-style: normal;
}

.submenu li a {
    color: #000;
}

.merge-nav .submenu:hover .submenu-show li:hover {
    background-color: rgba(39, 29, 103, 0.07);
    transition: .2s;
}

.submenu-show li:hover a {
    color: #271d67;
}

.offcanvas-nav #collapseExample ul {
    padding-left: 20px;
}

.offcanvas-nav #collapseExample a {
    color: #000;
    padding: 5.2px 0;
}

.coll-btn.collapsed[aria-expanded="false"],
.coll-btn[aria-expanded="false"] {
    transform: rotate(0deg);
    transition: transform .3s ease-out;
}

.coll-btn[aria-expanded="true"] {
    transform: rotate(45deg);
    transition: transform .3s ease-out;
}

.merge-nav .offcanvas-body {
    padding-top: 15px;
}

.merge-nav .btn-close {
    background-color: #271d67;
    padding: 5px;
    border-radius: 0;
    opacity: 1;
    color: #fff;
    background-image: none;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    position: relative;
}

.close-line::after,
.close-line::before {
    content: '';
    width: 20px;
    height: 2px;
    background-color: #fff;
    transform: rotate(-45deg);
    display: block;
}

.close-line::before {
    transform: rotate(45deg);
    position: absolute;
}

.merge-nav-none {

    display: none;
}

.merge-nav-none.offcanvas {
    display: none;

}

#merge-footer {
    background-color: #e8e8e8;
}

#merge-footer h5 {
    font-size: 18px;
}

#merge-footer .container {
    padding: 45px 0px 30px 0px;
    box-sizing: content-box;
    max-width: 1200px;
    color: #000;
}

#merge-footer a {
    color: #000;
}

#merge-footer .container-fluid {
    padding: 40px 0px;
    background-color: #000;
    color: #fff;
}

.pb-10px {
    padding-bottom: 10px;
}

.mb-35px {
    margin-bottom: 35px;
}

.fz14 {
    font-size: 14px;
}

.catalog .member_list_page {
    position: relative;
}

.merge-nav~header.catalog {
    margin-top: 0px;
    top: 60px;
    z-index: 9999;
}

.navbar-expand-1050 .navbar-toggler {
    display: none;
}

.search .form-select {
    max-width: 100%;
}

#search-form>div+.d-flex {
    width: 65%;
}

.entrance{
    background-size: cover;
    background-image: url('../img/entrance.webp');
    background-repeat: no-repeat;
}
.contact_member {
    display: none !important;
}

.filter-left {
    padding-right: 12px;
    width: 616px;
    flex-shrink: 0;
}

.filter-right {
    width: 500px;
    flex-shrink: 0;
}

.inv-filter,.dropdown-filter{
    height: calc(100vh - 132px - 40px);
    overflow: hidden;
    max-width: 1185px;
    margin-top: 5px !important;
    box-shadow: 10px 10px 30px rgba(82, 63, 105, 0.15), -10px 10px 30px rgba(82, 63, 105, 0.15);
}

.inv-filter::before,.dropdown-filter::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: #FFF;
}
.dropdown-filter{
    width: 100%;
    max-width: 1200px;
}

.inv-filter .card-body ,.dropdown-filter .card-body{
    overflow-y: scroll;
    height: calc(100vh - 132px - 83px);
    padding-bottom: 60px;
}

.inv-filter .form-check-inline ,.dropdown-filter .form-check-inline{
    margin-right: 0;
    margin-bottom: 1rem;
}

.inv-filter .layout-l .form-check-inline {
    min-width: 183px;
}

.inv-filter .layout-t .form-check-inline {
    max-width: 100%;
    padding-right: 4px;
}

.inv-filter .layout-i .form-check-inline {
    max-width: 100%;
    margin-bottom: 10px;
}

.layout-t-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
}

.startup-layout-i {
   display: flex;
   flex-wrap: wrap;
}

.startup-layout-i .form-check-inline {
    min-width: 30%;
}

.startup-layout-i .form-check-label {
    padding-right: 4px;
    max-width: 300px;
}
.grid-line-4,.dropdown-filter .layout-l .accordion-body{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25%, 1fr));
}
.inv-filter .card-footer,.dropdown-filter .card-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    z-index: 3;
    display: flex;
    justify-content: end;
    padding: 1rem 2.5rem;
    left: 0;
    border-top: 1px solid #f5f5f5;
}
.dropdown-filter .card-footer{
    padding: 1rem 2rem;
    justify-content: space-between;
}

.layout-i-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(33%, 1fr));
}

.inv-filter .layout-i .form-check-inline:nth-child(3n+1),
.inv-filter .layout-i .form-check-inline:nth-child(3n+2),
.inv-filter .layout-i .form-check-inline:nth-child(3n+3){
    border-top: 1px solid #f5f5f5;
    /* 設置分隔線的樣式 */
    padding-top: 10px;
    /* 添加一些頂部間距 */
}
.grid-line-4 .form-check-inline,.dropdown-filter .layout-l .form-check-inline{
    border-bottom: 1px dotted #f5f5f5;
    padding-bottom: 8px;
    margin-bottom: 8px;
}
.dropdown-filter .layout-l .form-check-label{
    padding-right: 4px;
}
.inv-filter .layout-i .form-check-inline:nth-child(1),
.inv-filter .layout-i .form-check-inline:nth-child(2),
.inv-filter .layout-i .form-check-inline:nth-child(3) {
    border-top: 0;
    padding-top: 0px;
    /* 添加一些頂部間距 */
}

.catalog_list .pic {
    flex-shrink: 0;
}

.bg-sc {
    background-color: #f8fafc;
}

.w-24px {
    width: 24px;
}

.accordion-button::after {
    background-image: var(--bs-accordion-btn-icon);
}

.contact_career::before,
.contact_phone::before,
.contact_person::before,
.contact_mail::before,
.contact_web::before,
.contact_position::before,
.contact_member::before,
.contact_global::before {
    flex-shrink: 0;
}

.contact_global::before {
    background-image: url(../img/catalog/member/global.svg);
    content: '';
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-flex;
}

@media screen and (min-width:1050px) {
    .navbar-expand-1050 {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .navbar-expand-1050 .navbar-nav {
        flex-direction: row;
    }

    .navbar-expand-1050 .navbar-nav .dropdown-menu {
        position: absolute;
    }

    .navbar-expand-1050 .navbar-nav .nav-link {
        padding-right: var(--bs-navbar-nav-link-padding-x);
        padding-left: var(--bs-navbar-nav-link-padding-x);
    }

    .navbar-expand-1050 .navbar-nav-scroll {
        overflow: visible;
    }

    .navbar-expand-1050 .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-expand-1050 .navbar-toggler {
        display: none;
    }

    .navbar-expand-1050 .offcanvas {
        position: static;
        z-index: auto;
        flex-grow: 1;
        width: auto !important;
        height: auto !important;
        visibility: visible !important;
        background-color: transparent !important;
        border: 0 !important;
        transform: none !important;
        box-shadow: none;
        transition: none;
    }

    .navbar-expand-1050 .offcanvas .offcanvas-header {
        display: none;
    }

    .navbar-expand-1050 .offcanvas .offcanvas-body {
        display: flex;
        flex-grow: 0;
        padding: 0;
        overflow-y: visible;
    }
}
@media screen and (min-width:1050px) and (max-height:800px) {
    .css-height.inv-filter{
        inset: 0px !important;
        top: -5px !important;;
        z-index: 10000;
        border-radius: .625rem !important;
        height:calc(100vh - 60px - 40px) ;
        transform: translate3d(0%, 0, 0) !important;
        min-width: 100%;
        max-width: 100%;
    }
    .css-height.inv-filter .filter-left{
        flex-grow: 1;
    }
}

@media screen and (max-width:1366px) {
    .filter-left {
        max-width:550px;
    }

    .filter-right {
        width: 700px;
    }
    .dropdown-filter .filter-left{
        max-width: 460px;
    }

    .layout-t-grid {
        grid-template-columns: repeat(auto-fill, minmax(33%, 1fr));
    }

    .layout-i-grid {
        grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
    }

    .inv-filter .layout-i .form-check-inline:nth-child(1),
    .inv-filter .layout-i .form-check-inline:nth-child(2) {
        border-top: 0px;
        padding-top: 10px;
        /* 添加一些頂部間距 */
    }

    .inv-filter .layout-i .form-check-inline:nth-child(3) {
        border-top: 1px solid #f5f5f5;
        padding-top: 10px;
        /* 添加一些頂部間距 */
    }
    .startup-layout-i .form-check-inline {
        min-width: 50%;
    }
    .startup-layout-i .form-check-label{
        max-width: 100%;
        
    }
}
@media screen and (max-width:1280px) {
    .filter-left {
        max-width:480px;
    }
    .dropdown-filter .filter-left{
        max-width: 320px;
    }
    .dropdown-filter{
        max-width: 1100px;
    }
    .dropdown-filter .layout-t-grid{
        grid-template-columns: repeat(auto-fill, minmax(25%, 1fr));
    }
    .dropdown-filter .layout-l .accordion-body{
        grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
    }


}


@media screen and (max-width: 1050px) {
    .merge-nav {
        height: 60px;
        padding: 0;
        box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.07);
    }

    .navbar-brand img {
        height: 60px;
    }

    .container.container-nav {
        padding: 0 20px;
    }

    .merge-nav .nav-btn {
        display: flex !important;
    }

    .merge-nav-none {
        display: flex;
    }

    .merge-nav-none.offcanvas {
        display: flex;
    }

    .inv-filter {
        max-width: 100%;
    }

    .filter-left {
        max-width: 55%;
    }

    .filter-right {
        width: initial;
        flex-grow: 1;
    }

    .layout-t-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
    


}

@keyframes fade-out-anim {
    0% {
        opacity: 1;
        display: block
    }

    30%,
    99% {
        opacity: 0;
        display: block
    }

    100% {
        opacity: 0;
        display: none;
        z-index: 1
    }
}

@keyframes opacity-lat {
    0% {
        opacity: 0;
        visibility: hidden
    }

    100%,
    70% {
        opacity: 1;
        visibility: visible
    }
}


@media screen and (max-width:576px) {
    .inv-filter {
        margin-top: 3px !important;
    }

    .inv-filter .layout-l .form-check-inline {
        min-width: 45%;
    }

    .filter-left,
    .filter-right {
        width: 100%;
        max-width: 100%;
    }

    .layout-t-grid {
        display: flex;
        flex-direction: column;
    }
    .startup-layout-i .form-check-inline {
        min-width: 100%;
    }
}