
:root {
    --tab-min-height: var(--classic_squared_tabs_tab_height) !important;
    --mltabs-newtab-height: calc(var(--classic_squared_tabs_tab_height) + 1px) !important;
    --tab-min-height_tnot: calc(var(--classic_squared_tabs_tab_height) - 1px) !important;
    --tab_below_navigation_toolbar_bottom_padding: var(--classic_squared_tabs_tab_height) !important;
    --tab_below_main_content_bottom_margin: calc(2px + var(--classic_squared_tabs_tab_height)) !important;
    --tab_below_main_content_toolbar_height: calc(1px + var(--classic_squared_tabs_tab_height)) !important;
    --tab_below_main_content_top_margin: 0 !important;
    --ctb_start_padding: 2px !important;
    --ctb_width: 14px !important;
    --ctb_start_margin: -4px !important;
    --ctb_end_margin: 12px !important;
}


#TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab,
#TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab .tab-background {
    background: unset !important;
    border: unset !important;
}

#TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab {
    border-radius: 0 !important;
}
#tabbrowser-arrowscrollbox{
    position: relative !important;

}
#tabbrowser-arrowscrollbox:before{
    /*box-shadow: inset 0 -1px 1px #2c2fff !important;*/
    position: absolute;
    height: 4px;
    width: 100%;
    content: "";
    bottom:0;
    backdrop-filter: blur(2px);
}
#navigator-toolbox{
    background-color: #a2cfec !important;
    border-top: 1px solid #fefefe !important;
    padding-top: 1px !important;
}
#TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab:last-of-type{
    border-top-right-radius: 3px !important;

}#TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab:first-of-type{
    border-top-left-radius: 3px !important;

}
#TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab {
    color: var(--classic_squared_tabs_tab_text_color) !important;
}


#TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab{
    position: relative;

}
#TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab[selected]::after{
    content:"";
    width:10px;
    height: 22px;
    background: url("../images/arc1.png");    background-size: cover;
    transform: translateY(7px) translateX(-2px) ;
    filter: grayscale(50%) brightness(1.2);

}
#TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab[selected]::before{
    content:"";
    width:10px;
    height: 22px;
    background: url("../images/arc1.png");    background-size: cover;
    transform: translateY(7px) translateX(2px) scaleX(-1);
    z-index: 1;
    filter: grayscale(50%) brightness(1.2);

}

#TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab::after{
    content:"";
    width:8px;
    height: 18px;
    background: url("../images/arc2.png");
    background-size: cover;
    transform: translateY(10px) translateX(-3px);
    margin-right: -3px;
    filter: grayscale(65%) brightness(1.3);
}
#TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab::before{
    content:"";
    width:8px;
    height: 18px;
    background: url("../images/arc2.png");
    background-size: cover;
    transform: translateY(10px) translateX(3px) scaleX(-1);
    z-index: 1 ;
    filter: grayscale(65%) brightness(1.3);
}
#TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab .tab-content {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 45%, rgba(181, 227, 255, 0.15) 0%, rgba(207, 207, 207, 0.22));
    background-color: rgba(145, 224, 235, 0.5);
    border: 1px solid #444;
    color: #666;
    padding-left: 12px !important;
    padding-right: 10px !important;
    border-bottom: none !important;
    font-size: 13px !important;
    backdrop-filter: blur(4px) !important;
    text-shadow: 1px 1px 2px #fff;
}

#TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab:not([selected]) .tab-content :is(.tab-close-button, .tab-icon-image){
opacity: 0.7 !important;
    filter: grayscale(30%) brightness(0.85);
}
#TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab[selected] .tab-content {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 45%, rgba(181, 227, 255, 0.15) 0%, rgba(207, 207, 207, 0.22));
    background-color: rgba(105, 201, 235, 1);
    color: #222;
    box-shadow: inset 0 1px 2px rgba(255,255,255, 0.64) !important;
    backdrop-filter: blur(4px) !important;
    border: 1px solid #222;
    border-bottom:none !important;
    text-shadow: 1px 1px 2px #fff;
}

#TabsToolbar .tabbrowser-tab .tab-background, #TabsToolbar .tabbrowser-tab .tab-stack, #TabsToolbar .tabbrowser-tab, #TabsToolbar .tabbrowser-tab .tab-content
{    border-radius: 18px !important;

    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}
#TabsToolbar .tabbrowser-tab[selected] .tab-background, #TabsToolbar .tabbrowser-tab[selected] .tab-stack, #TabsToolbar .tabbrowser-tab[selected], #TabsToolbar .tabbrowser-tab[selected] .tab-content{
    border-radius: 14px !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

#TabsToolbar .tabbrowser-tab{
    margin-left: -3px !important;
}
#TabsToolbar .tabbrowser-tab[selected]{
    margin-left: -2px !important;

}
#TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab:hover .tab-content:not([selected],[multiselected]) {
    background-color:  #caeeee;

}
#TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab:not([selected]):hover:before,#TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab:not([selected]):hover:after {
    filter: grayscale(80%) brightness(1.45);
}

.tabbrowser-tab .tab-background:is([selected],[multiselected]) {
    border-image: unset !important;
}


.tab-background {
    margin-block: unset !important;
}


.tabbrowser-tab:not([pinned]):not([locked]) .tab-throbber,
.tabbrowser-tab:not([pinned]) .tab-icon-image {
    margin-inline-start: -8px !important;
}
.tabbrowser-tab:not([pinned]):not([locked])[selected] .tab-throbber,
.tabbrowser-tab:not([pinned])[selected] .tab-icon-image {
    margin-inline-start: -11px !important;
}
.tabbrowser-tab,
#tabbrowser-tabs,
#tabbrowser-tabs > .tabbrowser-arrowscrollbox,
.tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
    min-height: var(--classic_squared_tabs_tab_height) !important;
}

#TabsToolbar #tabbrowser-tabs[overflow] .tabbrowser-tab[pinned] {
    min-height: calc(var(--classic_squared_tabs_tab_height) - 1px) !important;
    max-height: calc(var(--classic_squared_tabs_tab_height) - 1px) !important;
}


#TabsToolbar .tab-content[pinned] {
    padding: 0 6px !important;
}


.tabbrowser-tab {
    padding-inline:0 !important;
}



#tabbrowser-tabs:not([secondarytext-unsupported]) .tab-label-container {
    height: unset !important;
}



#private-browsing-indicator-with-label {
    display: none !important;
}

.tab-label-container {
    padding-bottom: 2px !important
}

#nav-bar:not([tabs-hidden="true"]) {
    position: unset !important;
}
.tab-throbber:not([busy], [progress])+.tab-icon-pending+.tab-icon-image:not([src]){
    display: block !important;
}
.tab-icon-pending:not([pinned]){
    margin-inline-end: -6px !important;
}
.tab-icon-image:not([src]){
    content: url("../images/page_aero.png") !important;
}
.tab-icon-overlay[indicator-replaces-favicon]{
    margin-inline-end:0 !important;
    margin-inline-start: -12px !important;
}
.tab-icon-overlay[soundplaying]{
    list-style-image: url("../images/sound.png") !important;
    padding: 0 !important;
}
#TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab[selected] .tab-content{
    height:29px !important;

}
.tab-icon-image[src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5Mm1tIiBoZWlnaHQ9IjkybW0iIHZpZXdCb3g9IjAgMCA5MiA5MiI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTQwLjkyMSAtMTcuNDE3KSI+PGNpcmNsZSBjeD0iNzUuOTIxIiBjeT0iNTMuOTAzIiByPSIzMCIgc3R5bGU9ImZpbGw6bm9uZTtmaWxsLW9wYWNpdHk6MTtzdHJva2U6IzMwNTBmZjtzdHJva2Utd2lkdGg6MTA7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIvPjxwYXRoIGQ9Ik02Ny41MTUgMzcuOTE1YTE4IDE4IDAgMCAxIDIxLjA1MSAzLjMxMyAxOCAxOCAwIDAgMSAzLjEzOCAyMS4wNzgiIHN0eWxlPSJmaWxsOm5vbmU7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOiMzMDUwZmY7c3Ryb2tlLXdpZHRoOjU7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIvPjxyZWN0IHdpZHRoPSIxOC44NDYiIGhlaWdodD0iMzkuOTYzIiB4PSIzLjcwNiIgeT0iMTIyLjA5IiByeT0iMCIgc3R5bGU9Im9wYWNpdHk6MTtmaWxsOiMzMDUwZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjg7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIgdHJhbnNmb3JtPSJyb3RhdGUoLTQ2LjIzNSkiLz48L2c+PC9zdmc+"]{
    content: url("../images/searchh.png") !important;
    transform: rotateY(-30deg) rotateZ(-10deg);

}
#TabsToolbar:not(:-moz-lwtheme) .tabbrowser-tab:not([selected]) .tab-content{
    height:26px !important;
    transform: translateY(2px);
}