/* Fælles stilarter for sider i router-appen (flyttet fra inline-CSS i pages/index.php). */

body {
  overflow-y: scroll;
}

/* Forslagskassen */
#small-ideas {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  cursor: pointer;
}

#small-ideas .badge {
  position: absolute;
  top: -3px;
  right: -4px;
}

.label-warning, .badge-warning {
  background-color: #F8AC59;
  color: #FFF;
}

.open-small-idea {
  font-size: 23px;
  height: 38px;
  width: 38px;
  display: block;
  background: #2280DB;
  padding: 9px 8px;
  text-align: center;
  color: #FF0;
  border-radius: 50%;
}

.open-small-idea .bulptxt {
  top: -4px;
  position: relative;
}

/* Indlæsnings-overlay mens AJAX-kald kører (body.loading) */
.modal2 {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, .35) url('../../images/FhHRx.gif') 50% 50% no-repeat;
}

body.loading {
  overflow: hidden;
}

body.loading .modal2 {
  display: block;
}

.rr {
  background-color: #4F4;
}

/* Overtaget session / "vis som almindelig bruger" */
.session-banner {
  margin: 15px 0 0;
}

/* DataTables: sidens dataTables.bootstrap.css lgges efter sb-admin-2 og viser png-pile oven i sb-admin-2's fontawesome-pile. */
table.dataTable thead th.sorting,
table.dataTable thead th.sorting_asc,
table.dataTable thead th.sorting_desc,
table.dataTable thead th.sorting_asc_disabled,
table.dataTable thead th.sorting_desc_disabled
{
  background-image: none !important;
  padding-left: 6px;
  padding-right: 6px;
}

/* Pilen står lige efter teksten i stedet for at flyde til højre. */
table.dataTable thead th.sorting:after,
table.dataTable thead th.sorting_asc:after,
table.dataTable thead th.sorting_desc:after
{
  float: none;
  margin-left: 4px;
}
