@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("flickr.com") {

#global-nav {position: static !important;}
body {padding-top: 0 !important;}


/* ===== Remove Objects ===== */

/* Yahoo bar/links */
#eyebrow,

/* Refresh Notice */
#refresh-announcement,

/* "New" Caption */
.New,

/* Front Page */
#home,
#storage,
#flickrdotcom,
#mobile-apps,
#huge-cta-wrapper,

/* General */
#main > noscript,
.tc_head_bot,
.search-icon.icon,
.gn-upload,
[class*="signup"],
[class*="signin"],
.TopBar .Header .Status,
#head-status,
#faq-link,
#foot,
#FooterWrapper,

/* Galleries */
#gallery-comments,
#gl-large-frame .t,
#gl-large-frame .b,


/* Search */
#PivotsContainer,
.ResultsThumbs p.ResultsThumbsChild,
.ResultsThumbs p.ResultsThumbsChildMedium,
.search-moreinfo.rapidnofollow,

/* Author, author comment, title in general (stream view) */
.title,
.meta,

/*photo stream*/
.cover-photo-holder,
.sn-avatar,
#share-this-v3-more-button,
.Section > h1 > *,
.StreamView .Desc,
.StreamView .Privacy,
.StreamView .Activity,

/* promo box @ front page */
.promobox,

/* @ submission */
.feedback-widget,
.attribution-icon,
.sidebar-panel-scrollable > div,
.photo-sidebar-actions-view > div:not(.more-menu-view),
.more-menu-view > .button,
.more-menu-view .ui-dialog-arrow,
.attribution-view.is-real-fullscreen,
#photo-drag-proxy,
#nav-bar-prev,
#nav-bar-next,
#nav-bar-lightbox,
#invites-and-comments,
#photo-story-story,
#photo-sidebar-tags,
#shortcuts,
#stats_ul,
.lightbox-meta,
#lightbox-prev,
#lightbox-next,
#lightbox-other-controls,
.name > *:not(.photo-name-line-1),
.sidebar-context-first-only ~ *,
#secondary-contexts > li:not(#context-stream-),
#photo-sidebar-additional-info > h4,

/* spaceball */
.spaceball,

/* Groups */
#group-info, #group-info ~ *,

/* Join Group, Group Map links */
A[data-track="group-join"],
A[data-track="group-map"],

/* Group curator @ group gallery */
[id^="gallery"] .curator_meta {display: none !important;}

/* Explore Interestingness */
.TwentyFour .Owner {visibility: hidden;}


/* ===== Color Edit ====== */

/*general*/

* {
border-color: #444 !important; 
background-color: transparent !important;
}

html, body, div[id] {background-color: #141414 !important;}
html   {color: #BBB !important;}
html * {color: inherit !important;}

a:link  {color: #F1F1F1 !important;}
a:hover {background-color: #2D61A0 !important;}

.navigate-target:hover {
background-color: transparent !important;
}

ul {background-color: #222 !important;}

/* Remove BG */
p,
*::before, 
*::after,
#gl-large-frame *,
.gallery-case,
#cover-photo,
.high-top-fade

{background-image: none !important;}

/* undo unsighlty coloring due to previous rules */
#shadow_div,
.contexts,
.positions,
div.play,
#sidebar ul,
#button-bar

{background-color: transparent !important;}

/*buttons*/
input[type="submit"] {
background: #005A4C !important; 
color: #FFF !important;
}

input[type="submit"]:hover  {background-color: #006E5C !important;}

/* input */
textarea,
input[type="text"],
input[type="search"]{

-moz-appearance: none !important;
-webkit-appearance: none !important;
background-color: #444 !important;
border: 1px solid #999 !important;
color: #FFF !important;
}

/* select menu */
select {
-moz-appearance: none !important;
-webkit-appearance: none !important;
background: #444 !important;
color: #FFF !important;
}

/* ===== Adjustments ===== */

#FlickrSizeHack {text-align: center;}

#global-nav,
#photo-details {min-width: 0 !important;}

/* Photostream header size */
.subnav-middle {height: 8em !important;}

/* == Photo page formatting == */

#photo {
height: auto !important; 
padding-top: 3em !important;}

#photo-container {padding-bottom: 1em !important;}
#photo-actions   {height: auto !important;}

#sidebar {
float: none !important;
width: auto !important;
margin: 0 !important;
}

/* Position */
#photo-container,
#photo-actions,
#title_div,
#sidebar,
#photo-story {position: static !important;
}

#primary-column {
float: none !important;
clear: none !important;
width: auto !important;
min-width: 0 !important;
max-width: none !important;
margin-left: 0 !important;
margin-right: 0 !important;
}

/* No border */
#photo-container {border: none !important;}

/* Center Photostream preview */
#context-stream- {
display: inline-block !important;
}

#sidebar-contexts {
float: none !important;
}

#secondary-contexts {text-align: center !important;}

/* Center Title */
#title_div {
margin-right: 0 !important;
text-align: center !important;
}

/* Center and Justify description */
#description_div {
width: 70% !important;
text-align: justify;
min-width: 500px;
margin-left: auto !important;
margin-right: auto !important;
}

/* Name Tweaks */
.flickr-user {
display: inline !important;
min-height: 0 !important;
position: absolute !important;
top: 0; 
left: .5em;
}

#photo-story .name {
float: none !important;
width: auto !important;
padding: 0 !important;
}

.photo-name-line-1 {display: inline !important;}

/* Options (three dots graphic) Adustment */
#action-buttons-right {
width: auto !important;
position: absolute;
top: 0; 
right: 0;
}

#button-bar {margin: 0  !important;}

/* redesign changes */
.more-menu-view {
max-width: none !important;
}

.more-menu-view .dialog-tooltip {
all: initial !important
}


}
