/* header */
header{
	position: fixed;
	overflow: hidden;
    width: 100%;
	box-shadow: 0 0 10px grey;
	z-index: 20;
}
::-webkit-scrollbar{
	width: 0;
	height: 0;
}

/* header_bar */
@media screen and (min-width: 451px){
	.header_bar{
		background-color: #f8f8f8;
		font-size: 12px;
		height: auto;
		overflow: hidden;
	}
	.header_bar ul{
		float: right;
		margin: 0;
		padding: 0;
	}
	.header_bar ul li{
		display:inline-block;
	}
	.header_bar .header_items #item1{
		color: #4b4b4b;
		margin: 5px;
	}
	.header_bar .header_items a{
		color: #cb6626;
		display:block;
		text-decoration: none;
		margin: 5px;
	}
	.header_bar .header_items a:hover{
		color: tomato;
	}
}
@media screen and (max-width: 450px){
	.header_bar{
		background-color: black;
		font-size: 12px;
		height: 24px;
		overflow: hidden;
		transition: height 0.5s;
	}
	.header_bar:hover{
		height: 70px;
	}
	.header_bar ul{
		float: right;
		margin: 2px;
		padding: 0;
	}
	.header_bar ul li{
		display:block;
		text-align: right;
	}
	.header_bar .header_items #item1{
		color: white;
		margin: 2px;
	}
	.header_bar .header_items a{
		color: yellow;
		display: inline-block;
		text-decoration: none;
		margin: 2px;
	}
	.header_bar .header_items a:hover{
		color: tomato;
	}
}

/* header_menu */
@media screen and (min-width: 951px){
	.menu_bar{
		height: 60px;
		background-color: white;
	}
	.menu_bar img{
		border: none;
	}
	.menu_bar .logo{
		position: unset;
		padding: 0;
		height: 42px;
		margin: 10px 30px;
		margin-right: 0;
	}
	.menu_bar .dropdown{
		position: absolute;
		right: 0;
		display: inline-block;
	}
	.menu_bar .dropdown .menu_toggle{
		display: none;
	}
	.menu_bar .dropdown ul{
		list-style-type: none;
	}
	.menu_bar .dropdown ul li{
		display: block;
		float: left;
		border-left: 1px solid lightgray;
	}
	.menu_bar .dropdown ul li a{
		display: block;
		height: 60px;
		padding: 10px 30px;
		font-size: 12px;
		line-height: 20px;
		text-align: center;
		text-decoration: none;
		color: black;
	}
	.menu_bar .dropdown ul li a div img{
		width: 25px;
		height: 20px;
	}
	.menu_bar ul li a.active{
		background-color: #0066cb;
		color: white;
		opacity: 0.8;
	}
	.menu_bar ul li a.active img,.menu_bar ul li a:hover img{
		filter: invert(100%);
		filter: brightness(10000%);
	}
	.menu_bar ul li a:hover:not(.active){
		background-color: #3284d5;
		color: white;
	}

}
@media screen and (min-width: 771px) and (max-width: 950px){
	.menu_bar{
		height: 40px;
		background-color: white;
		box-shadow: 0 0 10px gray;
	}
	.menu_bar img{
		border: none;
	}
	.menu_bar .logo{
		position: unset;
		padding: 0;
		height: 30px;
		margin: 5px 15px;
		margin-right: 0;
	}
	.menu_bar .dropdown{
		position: absolute;
		right: 0;
		display: inline-block;
		width: 40px;
	}
	.menu_bar .dropdown .menu_toggle{
		width: 20px;
		height: 20px;
		background-color: rgb(0, 100, 200);
		box-sizing: content-box;
		border: 10px solid rgb(0, 100, 200);
		border-radius: 50%;
		box-shadow: 0 0 10px grey;
		transition: transform 0.5s;
	}
	.menu_bar .dropdown:hover .menu_toggle{
		transform: rotate(360deg);
	}
	.menu_bar .dropdown ul{
		position: fixed;
		top: 0;
		right: 0;
		overflow: scroll;
		padding: 0;
		list-style-type: none;
		font-size: 0;
		background-color: white;
		border: 0.5px solid lightgray;
		
		z-index: -1;
		transition: top 0.5s;
	}
	.menu_bar .dropdown:hover ul{
		top: 67px;
	}
	.menu_bar .dropdown ul li{
		display: inline-block;
	}
	.menu_bar .dropdown ul li a{
		display: block;
		padding: 10px 30px;
		text-decoration: none;
		font-size: 12px;
		text-align:center;
		color: black;
		border-right: 1px solid lightgray;
	}
	.menu_bar .dropdown ul li:last-child a{
		border-right: none;
	}
	.menu_bar .dropdown ul li a div img{
		width: 25px;
		height: 20px;
	}
	.menu_bar .dropdown ul li a.active{
		color: white;
		background-color: darkgray;
	}
	.menu_bar .dropdown ul li a.active img{
		filter: invert(100%);
		filter: brightness(10000%);
	}
	.menu_bar .dropdown ul li a:hover:not(.active){
		background-color: lightsteelblue;
		color: white;
	}
}
@media screen and (max-width: 770px){
	.menu_bar{
		height: 30px;
		background-color: white;
		box-shadow: 0 0 10px gray;
	}
	.menu_bar img{
		border: none;
	}
	.menu_bar .logo{
		position: unset;
		padding: 0;
		height: 20px;
		margin: 5px 0 5px 15px;
	}
	.menu_bar .dropdown{
		position: absolute;
		right: 0;
		width: 30px;
		display: inline-block;
	}
	.menu_bar .dropdown .menu_toggle{
		width: 10px;
		height: 10px;
		background-color: rgb(0, 100, 200);
		box-sizing: content-box;
		border: 10px solid rgb(0, 100, 200);
		border-radius: 50%;
		box-shadow: 0 0 10px grey;
		transition: transform 0.5s;
	}
	.menu_bar .dropdown:hover .menu_toggle{
		transform: rotate(360deg);
	}
	.menu_bar .dropdown ul{
		position: fixed;
		top: 55px;
		right: -90px;
		overflow: scroll;
		height: calc(100% - 55px);
		padding: 0;
		list-style-type: none;
		background-color: white;
		border: 0.5px solid lightgray;
		border-right: none;
		z-index: -1;
		transition: right 0.5s;
	}
	.menu_bar .dropdown:hover ul{
		right: 0;
	}
	.menu_bar .dropdown ul li a{
		display: block;
		padding: 10px 20px;
		text-decoration: none;
		font-size: 12px;
		text-align:center;
		color: black;
	}
	.menu_bar .dropdown ul li a div img{
		width: 24px;
		height: 20px;
	}
	.menu_bar .dropdown ul li a.active{
		background-color: darkgray;
		color: white;
	}
	.menu_bar .dropdown ul li a.active img{
		filter: invert(100%);
		filter: brightness(10000%);
	}
	.menu_bar .dropdown ul li a:hover:not(.active){
		background-color: lightsteelblue;
		color: white;
	}
}