/* Base
----------------------------------------------------------------------------- */
body {
	margin: 50px 0 12px; /* Required because of fixed position navbar */
}

.select2-container {
  width: 100%;
}

.form-inline .select2-container {
  width: 150px;
}

.logo img {
  width: 293px;
  height: auto;
  float: none;
  margin: 0 auto;
  filter:brightness(0);
  padding-bottom:2em;
}

.cke_source {
  white-space: pre-wrap !important;
}

/* Model: Index
----------------------------------------------------------------------------- */
.bds-admin-help,
.bds-create-model {
	margin-bottom: 20px;
}

.bds-admin-help p {
	margin: 6px 0 0;
}

.page-sort,
.menuitem-sort {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.page-sort .page-sort,
.menuitem-sort .menuitem-sort {
  margin-left: 20px;
}

.table.nomargin {
  margin-bottom: 0;
}

.pagination_options {
  margin: 20px 0;
}


/* Model: Create/Edit
----------------------------------------------------------------------------- */
.bds-form-actions {
  margin-top: 6px;
}

.labelflag {
	display: inline-block;
	margin-right: 5px;
}

#tabbed-form {
  margin-bottom: 12px;
}

.tab-special {
	margin: 8px 0 0 12px;
}

.tab-special .select2-container {
	width: 150px;
}

.required:after {
  content: ' *';
}


.nav > li > a {
  padding: 10px 12px;
}



/* Statuses
---------------------------------------------------------------------------- */
.record-status {
  font-size: 13px;
}

.record-inactive {
  color: #888;
}

.record-draft {
  color: #428bca;
}

.record-pending  {
  color: #f0ad4e;
}

.record-published {
  color: #5cb85c;
}

.record-delete {
  color: #d9534f;
}

.record-delete .undo {
  display: none;
  padding-left: 6px;
  color: #333;
}

.record-delete:hover .undo {
  display: inline;
}


/* Media Handler Modal
----------------------------------------------------------------------------- */
.modal-body iframe {
	width:100%;
}

body.iframe {
	margin-top:0;
}

@media screen and (min-width: 960px) {
  .modal-dialog {
    width: 900px;
  }
}

.plupload-widget-wrap {
  margin-bottom: 9px;
}

.preview-media-item {
  margin-bottom: 9px;
  padding: 8px 8px 4px;
  font-size: 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  color: #08c;
}

.preview-media-item img {
  display: block;
  margin-bottom: 4px;
  width: 100%;
  max-width: 100%;
}

.media-item {
  position: relative; /* Contains absolute positioned elements */
  padding: 1px 28px 2px 6px;
  color: #333;
}

.media-item a {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  display: block;
  width: 20px;
  height: 20px;
  font-size: 14px;
  text-align: center;
  color: #333;
}

.media-item a:hover,
.media-item a:focus {
  text-decoration: none;
  background-color: #08c;
  color: #fff;
}

.bds_dialog_background_cover {
  visibility: hidden;
  position: fixed;
  z-index: 3000;
  top: 0px;
  left: 0px;
  background-color: rgba(0, 0, 0, 0.75);
  width: 100%;
  height: 2000px;
}

.bds_dialog_wrap {
  position: relative;
  width: 100%;
}

.bds_dialog_wrapper {
  position: absolute;
  z-index: 4000;
  top: 50px;
  margin-left: -300px;
  padding: 10px;
  width: 600px;
  visibility: hidden;
  background-color: #fff;
}

.bds_dialog_wrapper > div {
  z-index: 5000;
}

.sortable {
  list-style: none;
  padding-left: 0;
}

.sortable .sort {
  cursor: pointer;
  color: #ffa000;
}

.sortable .sort:after {
  content: '';
}

.sortable .sort.asc:after {
  content: ' ▴';
}

.sortable .sort.desc:after {
  content: ' ▾';
}

#filetypes .typeFilter {
  float: right;
  display: block;
  border-radius: 4px;
}

#filetypes .typeFilter img {
  padding: 3px 4px;
}

#filetypes .typeFilter.active {
  background-color: #ddd;
  border: 1px solid #aaa;
}

.hasHelp {
	cursor:help;
}

#filters.form-inline label {
	font-size: smaller;
	margin-top: 0.25em;
	margin-bottom: 0;
}

#filters.form-inline #form_submit {
  margin-top: 1.25em;
}


/* Help
---------------------------------------------------------------------------- */
.help-bubble {
  position: absolute;
  z-index: 999;
  display: none; /* Revealed with JavaScript */
  padding: 6px 10px;
  max-width: 400px;
  font-size: 12px;
  border: 1px solid #000;
  border-radius: 4px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  background-color: #fffff0;
}

.help-bubble p:last-child {
  margin-bottom: 0;
}

.helpinfo h1,
.helpinfo h1 small {
  margin-bottom: 0;
  font-weight: 500;
  font-size: 18px;
  color: #000;
}

#quick-ref, .bubble {
	display:block;
	white-space:nowrap;
	background:#f0f0f0;
	border-radius:8px;
	padding:5px 10px;
	font-size:12px;
	color:#000;
	overflow:hidden;
}

form#browse td.trimmed {
	max-width:120px;
	overflow:hidden;
    overflow: hidden;
    text-overflow: ellipsis;
}

th.sorter a {
	border-bottom: 1px dotted #000;
	color:#000;
}

td.rev_date {
	text-align:center;
	font-size:75%;
	color: #aaa;
	font-family:courier-new, courier, monospace;
	width:150px;
}



#div_feature1_icon, #div_feature2_icon, #div_feature3_icon, #div_feature4_icon {
  margin-bottom:40px;
}