.buttonsInMenu {
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
}


#tbw {
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    font-size: 30px;
    color: var(--toolbar-text);
    white-space: nowrap; 
}

#tbw > .tbwm {
    flex: 1 1 auto;
    box-sizing: border-box;
    white-space: nowrap;
    display: flex;
    margin: 0px;
    padding: 0px;
    /*
    border: 1px solid orange;
    box-sizing: border-box;
    */
}
#tbw > .tbwm.topbarmiddle {
    justify-content: center;
}

#tbw > .tbwm.topbarright {
justify-content: flex-end;
}

#tbw > .tbwm:first-child img {
    top: -3px;
    position: relative;
}/*
#tbw > .tbwm > div {
    border-left: 1px solid var(--colorEalt);  
}
*/
/*
#tbw > .tbwm > div:last-child {
    border-right: 1px solid var(--colorEalt);  
}
*/
#tbw .clockx {
    box-sizing: border-box;
    height: 100%;
    text-align: center;
    vertical-align: middle;
    line-height: 18px;
    padding: 10px;
    font-size: 18px;
    color: var(--clock-text);
    min-width: 100px;
}
#tbw .clockx span {
    display: block;
    font-size: 12px;
    line-height: 12px;
}
#tbw .buttonx {
    border: none;
    box-sizing: border-box;
    height: 100%;
    text-align: center;
    vertical-align: middle;
    line-height: 30px;
    padding: 10px;
    margin: 0px 0px 0px 0px;
    color: var(--button-disabled-text);
    font-weight: 300;
    border-top: none;
    border-bottom: none;
    font-size: 18px;
}

#tbw .buttonx:not(.text) {
      aspect-ratio: 1 / 1;
}
#tbw .buttonx.text {
    font-size: 18px;
}


#tbw .buttonx.on {
    background-color: var(--colorB);
}

#tbw .buttonx.ledgreen {
    border-bottom: 5px solid #00cd78
}

#tbw .buttonx.ledred {
    border-bottom: 5px solid red;
}

#tbw .buttonx.ledorange {
    border-bottom: 5px solid orange;
}

#tbw .buttonx.small {
    font-size: 14px;
    line-height: 14px;
}

/* hitbox leadselect */
#tbw a {
    padding: 5px;
}

@media screen and (max-width: 767px) {
    #tbw .buttonx {
        font-size: 12px;
        padding: 10px 5px 10px 5px;
    }

    #tbw .buttonx.text {
        font-size: 12px;
    }
    #tbw .buttonx.small {
        font-size: 10px;
    }

    #tbw .clockx {
        padding: 10px 5px 10px 5px;
        font-size: 14px;
    }
    #tbw .buttonx:not(.text) {
        aspect-ratio: 0.7 / 1;
    }
}



.tbActive:hover
{
	cursor: pointer;
	background-color: var(--button-hover);

}

/* for menu */
.tbOpen {
	background-color: var(--button-hover);
	color: var(--button-text-on-hover) !important;
}

/* follow */
.tbAvailable {
		color: var(--btw5) !important;
		font-weight: 500;
	}

.tbActive {
	color: var(--button-active-text) !important;
	font-weight: 500;
}

.tbActive i {
	color: var(--button-active-text);
}
.tbDisabled {
	color: var(--button-disabled-text) !important;
}

#ping {
	color: var(--button-active-text) !important;
}

[screenmode="prompter"] {
    #ping {
        color: #888 !important;
    }
    .tbActive {
        color: #888 !important;
    }
    .tbActive i {
        color: #888;
    }

}

.logo {
    cursor: pointer;
}