#accountswitcher_header{
	position: relative;
}

#accountswitcher_header_popup {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 0.25rem;
	background: var(--account-switcher-header-background);
	box-shadow: var(--box-shadow-medium);
	display: none;
	
	&.active {
		display: block;
	}
	
	.accounts {
		display: flex;
		flex-direction: column;
		gap: 0.5rem;
		padding: 0.5rem;
		max-height: calc(100vh - 8rem);
		overflow: auto;
		box-sizing: border-box;
	}
	
	.switchlink.header {
		position: relative;
		height: 3.5rem;
		aspect-ratio: 300/250;
		padding: 0;
		overflow: hidden;
		
		&:after {
			position: absolute;
			top: 0;
			left: 0;
			right: 0;
			bottom: 0;
			content: "";
			background: var(--color-primary);
			mix-blend-mode: color;
			opacity: 0.5;
			transition: opacity 250ms ease;
		}

		&:hover:after {
			opacity: 0;
		}
	}
}

#accountswitcher_sidebar_list {
	max-height: 0;
	overflow: auto;
	transition: max-height 250ms ease-in-out;
	
	&.active {
		max-height: 100vh;
	}
	
	.accounts {
		display: flex;
		flex-direction: column;
		
		.switchlink.sidebar {
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 0.25rem;
		}
	}
}

/* 
#accountswitcher_header_popup ul {
   	position: absolute;
   	left: 0;
   	padding-left: 0px;
   	padding-right: 10px;
   	min-width: 50px;
   	margin-top:25px;
   	line-height: 100%;
   	white-space: pre-line;
}

[id*="profile_switch_"] > img {
    height: 32px;
    width: auto;
}

[id*="profile_link_"] {
    list-style-type: none;
}

[id*="profile_link_"] > a > img {
    height: 32px;
    width: auto;
}

.acclist_outer {
    text-align: center;
    float: left;
    border: 1px solid;
    border-color: #000;
    width: 100%;
}

.acclist_att {
    padding-left: 20px;
}

.acclist_att > img {
    height: 44px;
    width: auto;
}

.acclist_mast {
    padding-left: 30px;
}

.acclist_mast > img {
    height: 44px;
    width: auto;
}

.acclist_card_mast {
    float:left;
    width: 100%;
    padding-right: 0;
    border-bottom: 1px solid #000;
}

.acclist_card_mast > img {
    height: 44px;
    width: auto;
}

.acclist_card_att {
    float:left;
    width: 250px;
    text-align: center;
}

.acclist_card_hidden {
    text-align: center;
    padding-top: 30px;
    float: left;
    width: 250px;
    border: none;
}

.acclist_card_att > img {
    height: 100px;
    width: auto;
}

.profile_card_mast {
    padding: 5px;
    background: none;
    border: none;
}

.profile_card_att {
    padding: 5px;
    background: none;
    border: none;
}

.as_head_drop {
    list-style-type: none;
    white-space: nowrap;
}

.as_head_drop > img {
    height: 22px;
    width: auto;
}

.as_head_userbit {
    list-style: none;
}

.as_head_userbit > img {
    height: 22px;
    width: auto;
}

.as_header {
    border-top: 1px solid;
    margin-top: 7px!important;
    padding-top: 7px!important;
    clear: both;
    min-width: 400px;
}

.as_header > img {
    height: 22px;
    width: auto;
}

.as_header > li > img {
    height: 22px;
    width: auto;
}

.as_side_user {
    list-style-type: none;
    white-space: nowrap;
    height: 24px;
}

.as_menu-arrow {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    width: 10px;
    height: 100%;
    border: 5px solid transparent;
    -webkit-transition: opacity .4s ease .4s;
    -moz-transition: opacity .4s ease .4s;
    -ms-transition: opacity .4s ease .4s;
    -o-transition: opacity .4s ease .4s;
    transition: opacity .4s ease .4s;
}

.as_sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.as_sidenav a {
    padding: 8px 8px 8px 20px;
    text-decoration: none;
    font-size: 15px;
    color: #ccc;
    display: inline-block;
    transition: 0.3s;
}

.as_sidenav a:hover {
    color: #f1f1f1;
}

.as_sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

 .as_sidenav ul {
    margin-top: 40px;
}

 .as_sidenav ul li {
    display: inline-block;
    width: 100%;
    list-style: none;
    font-size: 15px;
    text-align: left;
    padding: 3px 0px;
}

 .as_sidenav ul li img {
    height: 22px;
    width: auto;
}

 .as_sidenav ul li:before {
    content: "";
    margin-right: 5px;
    color: rgba(255, 255, 255, 0.2);
}

@media screen and (max-height: 450px) {
  .as_sidenav {padding-top: 15px;}
  .as_sidenav a {font-size: 15px;}
}
		
*/