/*-----------------  1200px寬頂部欄 header-2_start ---------------------*/
.header-2 {
    width: 100%;
    top: 0;
    z-index: 999;
    height: 78px;
    /* HEADER高度修改 */
    background-color: #909090;
    position: fixed;
    padding: 0 .5rem;
    box-sizing: border-box;
    display: flex;
	border-bottom: 1px solid #dee5e9;	
    /* justify-content: space-between; */
    /* align-items: center; */
}

.header-2 .header-2-logo {
    /*    display: inline-block;*/
    display: flex;
    max-width: 100px;
    height: 100%;
    /*    background: #202020;*/
    align-items: center;
    justify-content: flex-start;
}

.header-2-dropdown-1 {
    display: flex;
    /*padding-right: 15px;*/
    height: 100%;
    justify-content: flex-end;
    align-items: center;
    /*        overflow: hidden;*/
}

.header-2-dropdown-1 > div,
.header-2-dropdown-1 > a {
    margin: 0 5%;
}

/*
.header-3-dropdown-1 > .header-3-dropdown-1-main {
    display: inline-flex;
}
*/

.header-2-dropdown-1-main {
    text-decoration: none;
    color: white;
    transition: 0.3s;
    color: rgb(0, 0, 0);
    flex-direction: row;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* .header-2-dropdown-1-main:last-child {
    padding-right: 12px;
} */

.header-2-dropdown-1-main:hover {
    color: grey;
}

/*
.header-2-dropdown-1 .dropdown {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 100%;
}
*/

/* .header-2-dropdown-1 .header-2-dropdown-1-main > div {
    height: 100px;
} */

.header-2-dropdown-1 .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    width: 200px;
    z-index: 1;
    top: 90px;
    left: 0;
    /*    margin-top: 39%;*/
    background: rgb(190, 190, 190);
}

.header-2-dropdown-1 .dropdown-content a {
    color: black;
    text-align: center;
    border-bottom: 1px solid black;
    padding: 1rem;
    text-decoration: none;
    display: block;
    font-size: 14px;
}

.header-2-dropdown-1 .dropdown:hover .dropdown-content {
    display: block;
}

.header-2 .show-menu-btn,
.header-2 .hide-menu-btn {
    font-size: 17px;
    transition: 0.4s;
    cursor: pointer;
    display: none;
}

.header-2 .show-menu-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

/* .header-2 .show-menu-btn:hover,
.header-2 .hide-menu-btn:hover,
.header-2 .menu a:hover {
    color: #000000;
} */

.header-2 #chk {
    position: absolute;
    visibility: hidden;
    z-index: -1111;
}

@media screen and (max-width:1024px) {
    .header-2 {
		height: 6vh;
        min-height: 55px;

    }

    /* .header-2-dropdown-1 .header-2-dropdown-1-main .menuimg,
    .header-2-dropdown-1 .header-2-dropdown-1-main .menutext {
            display: inline-block;
            height: 50px;
            line-height: 50px;
    } */

    .header-2-dropdown-1 .header-2-dropdown-1-main .menutext {
        margin-left: 1rem;
    }

    .header-2-dropdown-1 .header-2-search {
        display: block;
    }

    .header-2 .show-menu-btn,
    .header-2 .hide-menu-btn {
        display: block;
        color: black;
        font-size: 2rem;
        line-height: 44px;
    }

    /* .header-2 .show-menu-btn:hover,
    .header-2 .hide-menu-btn:hover {
        color: blueviolet;
    } */

    .header-2-dropdown-1 {
        position: fixed;
        flex-direction: column;
        /*        flex-wrap: wrap;*/
        width: 50%;
        height: 100vh;
        background: rgb(237, 184, 9);
        left: -100%;
        top: 0;
        text-align: center;
        padding-top: 70px;
        transition: 0.7s;
        line-height: normal;
        list-style: none;
        z-index: 999;
        justify-content: flex-start;
    }

    .header-2-dropdown-1-main:hover + .dropdown-content,
    .dropdown-content:hover {
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .header-2-dropdown-1 .header-2-dropdown-1-main {
        font-size: 20px;
        color: white;
        display: block;
        /*        overflow: hidden;*/
        height: auto;
    }

    .header-2-dropdown-1 .hide-menu-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        color: white;
    }

    #chk:checked ~ .header-2-dropdown-1 {
        left: 0;
    }

    .header-2-dropdown-1 .header-2-dropdown-1-main {
        display: flex;
        /*        padding-bottom: 0px;*/
    }

    .header-2-dropdown-1 .header-2-dropdown-1-main > div {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 1rem;
    }

    .header-2-dropdown-1 .header-2-dropdown-1-main:hover .i-down {
        display: none;
    }

    .header-2-dropdown-1 .header-2-dropdown-1-main:hover .i-up {
        display: inline-flex;
    }

    .header-2-dropdown-1 .main-dropdown {
        margin-bottom: 0px;
    }

    .header-2-dropdown-1 .dropdown-content {
        background-color: rgb(237, 184, 9);
        z-index: 1;
        width: 100%;
        position: relative;
        top: 0;
        padding-bottom: 1rem
    }

    .header-2-dropdown-1 .dropdown-content a {
        color: white;
        border-bottom: 0;
        padding: 2px 6px;
        font-size: 18px;
        width: 100%;
    }

    .header-2-dropdown-1 .dropdown-content a:hover {
        color: gray;
    }

    .header-2 .header-2-logo {
        /*margin: auto;*/
    }

    .header-2-dropdown-1-main > .header-2-dropdown-1-main {
        height: 50px;
        display: flex;
        margin: .2rem;
    }
	
	.header-btn a{
		background-color: transparent;
		border: 1px solid #119cea;
		border-radius: 50px;
		color: #119cea;
		padding: 5px 4vw;
		display: flex;
		justify-content: space-between;
		margin: auto 3px;
	}
	
	.header-btn a:hover{
		background-color: #119cea;
		color: #fff;
	}
	
	.header-btn .detail-btn{
		background: url("../wap/images/icon-detail.png") no-repeat center;
		width: 18px;
		margin-right: 2px;
	}
	
	.header-btn:hover .detail-btn{
		background: url("../wap/images/icon-detail_hov.png") no-repeat center;
	}
	
	.header-btn .search-btn{
		background: url("../wap/images/icon-search.png") no-repeat center;
		width: 18px;
		margin-right: 2px;
	}
	
	.header-btn:hover .search-btn{
		background: url("../wap/images/icon-search_hov.png") no-repeat center;
	}
	
	.header-2 .btn{
		display: flex;
		
	}
}

/*-----------------  1200px寬頂部欄 header-2_end ---------------------*/
