body, main { background-color: #222; }
html, body { color:white; }
input, textarea, .form-control  { background-color: black; color: white; }
code  { background-color: #200; }

/* item details page */
body.ia-module.tiles .item-ia .item-ttl .ttl,
body.ia-module .ikind.stealth.in,
body.ia-module .ikind.stealth,
body.ia-module.tiles .item-ia,
.item-download-options .hover-badge-stealth,
.icon-label, [class*="iconochive"], th, td { color: white; }
body.ia-module.tiles .item-ia,
body.ia-module .columns-items .sortbar,
.action-buttons-section .button,
body.ia-module .boxy,
body.ia-module .boxy.white-bg, .pickr { 
 background-color: #333;
 border: unset;
}
.item-parent-ttl { color: white; }

.item-download-options .format-group,
body.ia-module .collection-list .collection-item {
 border-bottom: 1px dashed white;
}

a, a:link, body.ia-module .boxy a,
body.ia-module .boxy.white-bg a,
body.ia-module .boxy .boxy-ttl,
.item-download-options .format-group a.stealth,
.download-directory-listing .directory-listing-table a { color: #5AF; }
.btn:link { color:#fff; }
body.ia-module #also-found { background-color: #111; }
body.ia-module .search-bar-section { background-color:#444; border:unset; }
body.ia-module.lists div.ikind .results {  border:unset; }
body.ia-module.lists .item-ia,
body.ia-module.lists.showdetails .details-ia { background-color: #444; }
body.ia-module.lists.showdetails .details-ia { color: #eee; }
.well-sm { background-color: #444; } /* forum post */

/* "Download options" section and "Add Review" link */
.metadata-list,
.metadata-expandable-list,
body.ia-module .stealth,
body.ia-module .welcome .tabby.in a.stealth { color: #bbb; }

/* Converting borders to box shadows to prevent protrusion */
.action-buttons-section .favorite-btn .button:hover { background-color: #220; border:unset; box-shadow: 0 0 0 2px #F0B534; }
.action-buttons-section .share-button .button:hover { background-color: #002; border:unset; box-shadow: 0 0 0 2px #428bca; }
.action-buttons-section .flag-button .button:hover { border: unset; box-shadow: 0 0 0 2px red; }

/* Adapting some borders on collection pages */
.well { border: unset; }
body.ia-module.tiles .item-ia {
  border: unset;
  box-shadow: unset;
  border-radius:0.5em;
}

body.ia-module.tiles .columns-items {
  border-left: 1px solid #555;
}

body.navia .container-ia.nopad {
  border-top: unset;
}

body.ia-module .columns-items .sortbar {
  border: unset;
}

body.ia-module .columns-facets h1 {
  border-bottom: 1px dashed #555;
}

/* "show all" file index page, also known as "/download/" */
pre					{ background-color:#444; color:#bbb; border: unset; }
hr					{ border-top: 1px dashed white; }

/* Uploader UI */
#file_info,
#file_info tr,
#file_info td		{ color: white; } 

#file_info, #file_drop, #add_files,
.metadata_row		{ background-color: #444; }
.metadata_row:hover	{ background-color: #555; }
#files th			{ background-color: #555; }

/* File editor */
.x-tree .x-panel-body { background-color: black; }
.x-tree-node a span, .x-dd-drag-ghost a span { color: white; }
.x-panel-tbar-noheader .x-toolbar, .x-panel-mc .x-panel-tbar .x-toolbar { background:unset; background-color: #333; }
.x-form-text, textarea.x-form-field { background: black; }
.x-tree-node .x-tree-selected { background-color: darkgreen; }
.x-tree-node .x-tree-node-over { background-color: #333; }

/* Login and signup */
.signup-form-section .login-header h1,
.login-form-section  .login-header h1,
.signup-form-section .signup-header h1,
.login-form-section  .signup-header h1,
.signup-form-section .signup-form-element label,
.login-form-section  .signup-form-element label,
.signup-form-section .login-form-element label,
.login-form-section  .login-form-element label { color:white; }
.modal-content { 
	background-color: black; 
	box-shadow: 0 0 5px  white;
}

/* Home page */
.home-page-hero-block-1 #outer-container.home-page-hero-block {  background-color: #444; }
.home-page-hero-block-1 #whoweare.home-page-hero-block { color:white; }
.hero-block-announcements-1 #announcements-container.hero-block-announcements ul.hero-block-announcements a.hero-block-announcements { color: #bbb; }
#main-image { filter:invert(1); }
