/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
}


/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */

@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

@media(max-width:760px){
  .sidebar {
    top: 14px;
  }
}

.navbar{
  z-index: 9999;
}

.navbar-collapse{
  padding-left: 0px;
  padding-right: 0px;
}
/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
  color: #404852;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #c3dfe8;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

.partner-placeholder{
  position:absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  top: 162px;
}

.dropdown-menu {
    max-height: 400px;
    overflow: hidden;
    overflow-y: auto;
}

span.sidebar-brand {
    padding-bottom: 10px;
    text-transform: uppercase;
    color: #565;
}

.areamatrix table td {
  min-width: 160px;
}

#import-info code{
  white-space: pre;
  overflow-x: scroll;
}

#loading{height:100px;background:url('../img/ajax-loader.gif') no-repeat 50% 50%;}

.fc-title {
  white-space: normal;
}


.panel-title a:hover, .panel-title a:visited, .panel-title a:focus
{
  color:black;
  text-decoration: none;
}

a.disabled:hover
{
  cursor: not-allowed;
}

.padded {
  padding: 5px;
}

.dropdown-menu .list-group-item {
  border: none;
  padding: 0;
}

.modal {
  z-index: 10000;
}

.ajax-loader {
  font-size: 2em !important;
  margin: 10px;
}

.town-dropdown {
  min-width: 280px;
}

#redactor-modal-close {
  border: none;
  background: transparent;
}

.form-group .btn-clear-filter:hover {
  cursor: pointer;
  color: black;
}

.extended-select .dropdown-toggle{
  display: inline-block;
  width: 100%;
}

.extended-select .dropdown-toggle .caret {
  display: inline-block;
  right: 10px;
  position: absolute;
  margin-top: 5px;
}

td.dirty {

}

.ct-legend li span {
  display: inline-block;
  margin-left: 5px;
}

/* Smaller Clear Button for Editors */
.editors-grp .btn-clear-filter {
  font-size: 11px;
}

