/*
Theme Name: Occupy Oakland
Theme URI: http://occupyoakland.org/
Author: Web Committee
Template: roots
Version: 2.0-alpha
*/


/*
 * general
 * use .visuallyhidden for hiding things
 */

a:hover,
a:visited {
	color: #d40000;
}

h4, h5, h6 {
	line-height: 1.5em;
}

::-moz-selection { background: black !important; color: white !important; text-shadow: none !important; }
::selection { background: black !important; color: white !important; text-shadow: none !important; }

@font-face {
  font-family: 'Allerta Stencil';
  font-style: normal;
  font-weight: normal;
  src: local('Allerta Stencil Regular'), local('AllertaStencil-Regular'), url('AllertaStencil-Regular.woff') format('woff');
}


/*
 * WP adminbar restyle
 */

#adminbarsearch-wrap {
  display: none; /* HIDE UNNECESSARY SEARCH BOX */
}


/*
 * container
 */

#wrap {
   font-family: Tahoma,"Helvetica Neue",Helvetica,Arial,sans-serif;
   color: #000;
}
#wrap>.container {
	margin: 5px 0 5px;
}


/*
 * header
 */

#wrap>.container>header>.container {
	background: #000000;
}

header#banner {
	margin: 0 auto;
}

header#banner #logo {
	margin-bottom: 0;
	width: auto;
	height: 133px;
}

header#banner #header-sidebar {
	position: absolute;
	top: 0;
	right: 0;
	width: 300px;
	height: 133px; /* HEADER_IMAGE_HEIGHT */
	margin: 0;
	padding: 0;
	overflow: hidden;
}
header#banner #header-sidebar a,
header#banner #header-sidebar a:visited {
	color: #ffffff;
}
header#banner #header-sidebar a:active,
header#banner #header-sidebar a:hover {
	color: #d40000;
}
header#banner #header-sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
header#banner #header-sidebar ul .widget_search {
	padding: 0;
}
header#banner #header-sidebar ul .widget_search form {
	margin: 0;
}
header#banner #header-sidebar ul .widget_search form input {
	margin: 5px;
	font-size: 12px;
  line-height: 12px;
}
header#banner #header-sidebar ul .widget_search form input.button-primary {
	background-color: #777;
  border: none;
  color: #fff;
  height: 30px;
  width: 50px;
}
header#banner #header-sidebar ul .widget_wp_sidebarlogin h2 {
	display: none; /* should really recreate .visuallyhidden */
}
.logged-in header#banner #header-sidebar ul .widget_wp_sidebarlogin h2 {
	color: #eed;
	text-align: center;
}
header#banner #header-sidebar ul .widget_wp_sidebarlogin form {
	margin: 0;
}
header#banner #header-sidebar ul .widget_wp_sidebarlogin ul { /* logged in */
	margin: 2em 0 0;
	padding: 0;
	list-style: none;
	text-align: center;
}
header#banner #header-sidebar ul .widget_wp_sidebarlogin li {
	display: inline;
	margin: 0.5em;
}

header#banner #header-sidebar .meta {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 98%; /* there's a little mystery */
  text-align: right;
}
header#banner #header-sidebar .meta form#header-login-form {
	margin: 0;
}
header#banner #header-sidebar .meta form#header-login-form>label {
	display: block;
	float: left;
	width: 40%;
	margin: 0;
	padding: 0;
	text-align: left;
	color: #aaa;
}
header#banner #header-sidebar .meta form#header-login-form input[type=text],
header#banner #header-sidebar .meta form#header-login-form input[type=password] {
	width: 85%;
	margin: 0;
}
header#banner #header-sidebar .meta form#header-login-form input#wp-submit {
	float: right;
	padding: 0.25em;
	margin: 0.1em;
}
header#banner #header-sidebar .meta form#header-login-form p.forgetmenot {
	display: none;
}
header#banner #header-sidebar .meta form#header-login-form input[type=submit] {
	width: 50px;
	height: 29px;
	margin-top: 17px;
	border: 0;
	color: #fff;
	background: #777;
}
header#banner #header-sidebar .meta #login-text {
	clear: left;
  color: #aaa;
}
header#banner #header-sidebar .meta #login-text a {
}
header#banner #header-sidebar .meta a {
	font-weight: normal;
}

#nav-main ul li a:hover,
#nav-main ul li.current-menu-item > a,
#nav-main ul li.current-menu-parent > a,
#nav-main ul li.current-menu-ancestor > a,
#nav-main ul li:hover > a {
  color: white;
}


/*
 * header nav
 */

#nav-main {
	margin-bottom: 10px;
}
#nav-main ul {
	margin-bottom: 0;
	border-radius: 0;
	background: #777;
	text-transform: uppercase;
}
#nav-main ul {
	/*border-top: 2px solid #777;*/
}
#nav-main .menu>li>a {
	padding: 6px 14px 8px;
	font-size: 12px;
	color: #ffffff;
}
#nav-main ul li {
  margin-right: 2px;
}
#nav-main ul li.current-menu-item > a,
#nav-main ul li.current-menu-parent > a,
#nav-main ul li.current-menu-ancestor > a,
#nav-main ul li:hover ,
#nav-main ul li a:hover,
#nav-main ul li a:active {
  background-color: #000;
  color: #ffffff;
}
#nav-main .sub-menu,
#nav-main .sub-menu li {
  background-color: #000;
}
#nav-main .sub-menu li a:hover,
#nav-main ul ul li a:hover,
#nav-main ul ul li:hover > a  {
	color: #d40000;
	/*background-color: #d40000;*/
}
#nav-main ul ul li.current-menu-item > a,
#nav-main ul ul li.current-menu-parent > a,
#nav-main ul ul li.current-menu-ancestor > a  {
	color: #d40000;
}


/*
 * alert ... not actually used yet
 */

#sitewide-message {
	margin: 1em;
	padding: 1em;
	background: #e33;
}


/*
 * sidebar
 */

aside#sidebar {
  width: 300px;
  margin-left: 10px;
}
.widget_rss ul,
.widget_rss ol {
  margin: 0 0 0 20px;
}


/*
 * articles
 */

article header time.updated,
article header p.byline {
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 5px;
  font-size: 10px;
}

article div,
article p {
  margin-left: 5px;
  margin-right: 5px;
}

.hentry header {
   margin-bottom: 5px;
}
//Older Posts, New Posts links
.OlderPosts {
	float: left;
}
.NewerPosts {
	float: right;
	text-align: right;
}
.OlderPosts, .NewerPosts {
	width: 30%;
	font-weight: bold;
	display: inline;
	font-size: 110%;
}

/*
 * content
 */

#content {
	margin-top: 10px;
}

#content a,
#content a:active,
#content a:visited,
#content a:hover {
	color: #d40000;
}

/* events */
#content .ai1ec-date {
  background: none !important;
  border-top: 1px solid #d4d4d4 !important;
  padding-top: 10px !important;
  margin-bottom: 5px !important;
}
#content .ai1ec-date.ai1ec-today {
  border-top: none !important;
  padding-top: 0 !important;
}
#content .ai1ec-agenda-widget-view .ai1ec-date-title {
  border: 1px solid #d4d4d4 !important;
  background-color: #fff !important;
}
#content .ai1ec-agenda-widget-view .ai1ec-today .ai1ec-date-title {
  border-color: #4a4a4a !important;
}
#content .ai1ec-agenda-widget-view .ai1ec-month {
  background-color: #4a4a4a !important;
}
#content .ai1ec-agenda-widget-view .ai1ec-event a {
  color: #4a4a4a !important;
  background-color: #fff !important;
  border-color: #fff !important;
}
#content .ai1ec-agenda-widget-view .ai1ec-event.ai1ec-allday a {
  color: #4a4a4a !important;
  background-color: #fff !important;
  border-color: #4a4a4a !important;
}
#content .ai1ec-agenda-widget-view .ai1ec-event a:hover,
#content .ai1ec-agenda-widget-view .ai1ec-event.ai1ec-allday a:hover {
  color: #d40000 !important;
  background-color: #fff !important;
  border-color: #d4d4d4 !important;
}
#content article footer {
	margin: 5px 15px;
	padding-top: 0;
}
#content .ai1ec-agenda-widget-view .ai1ec-event a:active {
  color: #d40000;
}

.archive .archive-meta {
	margin-bottom: 25px;
	border-bottom: 1px solid #E4E4E4;
	padding-bottom: 20px;
}
article img.wp-post-image {
  background-color: #dcdcdc;
  margin-bottom: 5px;
}
.media-library-gallery {
  margin: 0 10px;
}
.media-library-gallery  div.mlg-navbar{
  margin: 0 0 15px;
  padding: 5px 34px;
  text-align: center;
  border: 1px solid #dcdcdc;
  margin-left: -10px;
  width: 870px;
}
.media-library-gallery div.mlg-preview {
  width: 184px;
  margin: 0 5px 5px;
}

#post-nav a,
#post-nav a:active,
#post-nav a:visited,
#post-nav a:hover {
	color: white;
}


/*
 * footer
 */

footer {
	margin: 0;
  border: none!important;
}
footer#content-info {
	background: #000;
	color: #fff;
	margin: 0;
}
footer a {
	color: #fff;
}
footer a:hover,
footer a:active {
	color: #d40000;
}
footer a:visited {
	color: #ddd;
}
footer article.widget {
	float: left;
	width: 930px;
	padding: 0 0 0 10px;
	border-color: #DCDCDC;
	border-style: solid;
	border-width: 0 0 1px 0;
}
footer article.widget>div {
	width: auto;
}
footer h3, footer li {
	color: #fff;
}


/*
 * page-specific
 */
#main {
	overflow: hidden;
  width: 620px;
  margin-right: 10px;
}
#main article, #CategoryMain article {
	border: 1px solid #dcdcdc;
	padding: 5px;
	margin-bottom: 10px;
}
#main article article, #CategoryMain article article {
	border: none;
}
#main #FrontPagePosts {
	border: 1px solid #dcdcdc;
  width: 618px;
}
#main #FrontPagePosts article {
	border: none;
  width: 610px;
}
#main #FrontPagePosts>h4 {
	margin: 1em;
	text-align: center;
}
#CategoryMain {
	width: 940px;
}
.home #frontpage-jcarousel-container {
	width: 620px;
	height: 280px;
	margin: 10px;
	padding: 0;
	background: #000;
	color: #fff;
	overflow: hidden;
}
ul.carousel {
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
}
.home ul.carousel>li {
	margin: 0;
	padding: 10px;
	width: 620px;
	height: 280px;
}
#FrontPagePosts article {
	overflow: auto;
}
.home #frontpage-listings.row {
	margin-left: 0;
}
.home #frontpage-listings .left ,
.home #frontpage-listings .right {
	width: 300px;
  padding: 5px 0;
}
.home #frontpage-listings .left {
	margin-left: 0;
	margin-right: 10px;
}
.home #frontpage-listings .right {
	margin-left: 10px;
	margin-right: 0;
}
.home #FrontPagePosts article h3:first-child {
  font-size: 24px;
}
.home #frontpage-listings .left h2,
.home #frontpage-listings .right h1,
aside h3,
.home #FrontPagePosts article h3:first-child,
article.post header h1:first-child,
article.post header h2:first-child {
	line-height: 1.2em;
}
aside h3 {
	font-size: 18px;
  margin-bottom: 10px;
}
#wrap #main .container>h1:first-child,
#wrap #CategoryMain .container>h1:first-child,
#wrap #frontpage-listings .left h2,
#wrap #frontpage-listings .right h1,
#wrap aside h3 {
	font-family: 'Allerta Stencil',Tahoma,sans-serif;
	text-transform: uppercase;
	font-weight: normal;
	background: #dcdcdc;
	padding: 8px 5px;
}
#wrap #main .container>h1:first-child,
#wrap #CategoryMain .container>h1:first-child {
  margin: 0px;
  padding: 5px 20px;
  background-color: #aaa;
  color: #111;
}
#wrap #main .container>h1:first-child+div.archive-meta,
#wrap #CategoryMain .container>h1:first-child+div.archive-meta {
  margin: 0px 0px 10px;
  border: 1px solid #000;
  padding: 9px 19px 19px;
}
#wrap #main .container>div.archive-meta p,
#wrap #CategoryMain .container>div.archive-meta p {
  margin: 10px 0px 0px;
  padding: 0px;
}
.home #frontpage-listings .left h2,
.home #frontpage-listings .right h1,
aside h3 {
	font-size: 18px;
  margin-bottom: 10px;
}
.home #FrontPagePosts article h3:first-child,
article.post header h1:first-child,
article.post header h2:first-child {
	border-bottom: 1px solid #dcdcdc;
	padding-bottom: 5px;
}
#content .home #FrontPagePosts article h3:first-child a:hover,
#content article.post header h1:first-child a:hover,
#content article.post header h2:first-child a:hover {
  color: #d40000;
  text-decoration: underline;
}
.home #frontpage-listings .right h2 {
	font-size: 1.25em;
	text-transform: uppercase;
	font-weight: bold;
	line-height: 1em;
}
.home #frontpage-listings ul {
	padding: 0;
}
.home #frontpage-listings ul.sidebar {
	list-style: none;
	margin: 0;
}
.home #frontpage-listings ul.sidebar li {
	margin: 5px;
}
.home #frontpage-listings ul.sidebar ul {
	margin: 5px 15px 15px;
}
.home #frontpage-listings ul.sidebar ul li{
	margin: 0;
}
#content #main .container>h1:first-child a,
#content #CategoryMain .container>h1:first-child a,
.home #FrontPagePosts article h3:first-child a,
#content article.post header h1:first-child a,
#content article.post header h2:first-child a,
#content aside a,
.home #frontpage-listings a,
a.rsswidget {
	color: #4a4a4a!important;
}
#content #main .container>h1:first-child a:hover,
#content #CategoryMain .container>h1:first-child a:hover,
.home #FrontPagePosts article h3:first-child a:hover,
#content article.post header h1:first-child a:hover,
#content article.post header h2:first-child a:hover,
#content aside a:hover,
.home #frontpage-listings a:hover,
a.rsswidget:hover {
  color: #d40000!important;
}

article {
  border: 1px solid #dcdcdc;
  padding-bottom: 5px;
}
article article {
  border: none;
}

.livestreamer_row{
	clear: both;
	padding-top: 8px;
}

.livestreamer_cell_left{
	float: left;
	width: 400px;
}

.livestreamer_cell_middle{
  float: left;
  width: 100px;
}

.livestreamer_cell_right{
	float: left;
	width: 100px;
	clear: right;
}

.livestream_update_time{
  font-size: 8pt;
  float: right;
  color: #666;
}

/* Comments Box */
textarea#comment {
	width: 570px;
	height: 200px;
	margin: 0 auto;
	color: #000;
}

#commentform label {
	text-align: left;
	font-weight: bold;
	font-size: 110%;
	margin: 0 0 3px 14px;
}
