@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

/* Protocol */

.textbox-presentation-protocol
{
padding-right: 2px !important;
color: #666666 !important;
}

/* Subdomain */

.textbox-presentation-subdomain:not([value=""])
{
border: 1px solid #DDDDDD !important;
border-right: none !important;
-moz-border-radius: 4px !important;
-moz-border-radius-bottomright: 0 !important;
background-color: #909090 !important;
color: #E7E7E7 !important;
font-weight: normal !important;
padding-left: 2px !important;
padding-right: 2px !important;
margin-right: -4px !important;
}

.textbox-presentation-subdomain[value=""]
{
display: none !important;
}

/* Domain */

.textbox-presentation-domain:not([value=""])
{
border: 1px solid #DDDDDD !important;
-moz-border-radius: 4px !important;
border-left: none !important;
background-color: #909090 !important;
color: #FFFFFF !important;
font-weight: bold !important;
padding-left: 2px !important;
padding-right: 2px !important;
}

.textbox-presentation-subdomain[value=""]
{
display: none !important;
}

/* Arrow slashes */

.textbox-presentation-slash
{
color: #555555 !important;
padding-left: 2px !important;
padding-right: 2px !important;
width: auto !important;
}

/* All segments */

.textbox-presentation-segment *
{
padding-top: 1px !important;
padding-bottom: 1px !important;
border-top: 1px solid transparent !important;
border-bottom: 1px solid transparent !important;
font-weight: normal !important;
}

/* All segments aside from protocol */

.textbox-presentation-segment *:not(.textbox-presentation-protocol):not(.textbox-presentation-subdomain):not(.textbox-presentation-domain)
{
color: #000000 !important;
}

/* All segments when hovered */

#urlbar[linkify="true"] .textbox-presentation-segment:hover *
{
text-decoration: none !important;
}