/*
 * Base structure
 */


/*
 * Global add-ons
 */

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


/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@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;
  }
}

/* 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;
}
.nav-sidebar > .active > a {
  color: #fff;
  background-color: #428bca;
}


/*
 * 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%;
}

div {
    -webkit-transition: width 0.3s ease, margin 0.3s ease;
    -moz-transition: width 0.3s ease, margin 0.3s ease;
    -o-transition: width 0.3s ease, margin 0.3s ease;
    transition: width 0.3s ease, margin 0.3s ease;
}

div {
    -webkit-transition: width 0.3s ease, margin 0.3s ease;
    -moz-transition: width 0.3s ease, margin 0.3s ease;
    -o-transition: width 0.3s ease, margin 0.3s ease;
    transition: width 0.3s ease, margin 0.3s ease;
}


.twitter-typeahead {
    display: block !important;
}

label {
    /*display: block; quite a general rule...*/
}

.display-option {
    margin-right: 2em;
}

input[type="number"] {
    -moz-box-sizing: border-box;
    background: none repeat scroll 0 0 rgba(255, 255, 255, 0.5);
    border: 1px solid #CACACA;
    border-radius: 4px;
    color: #777777;
    height: 33px;
    line-height: 33px;
    outline: medium none;
    padding: 0 5px;
}

#OpenLayers_Control_Attribution_7 {
    display: none;
}

.jp-controls li {
    margin: 0;
}

.actions a {
    text-decoration: none;
}

.subtle {
    color: #AAAAAA;
}

.choice-form {
    border: 1px solid #014359;
    background-color: #f3f3f3;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.choice-form .title {
    font-weight: bold;
    font-size: 125%;
}

.choice-form .date {
    font-weight: normal;
    font-size: 125%;
    float: right;
}

.choice-form .description {
    margin: 0;
}

.badge {
display: inline-block;
min-width: 10px;
padding: 3px 7px;
font-size: 12px;
font-weight: 700;
line-height: 1;
color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
background-color: #777;
border-radius: 10px;
}

.danger {
	background-color: #CC3300 !important;
}

ol.paging, .paging > li {
	margin-top: 0px;
	margin-bottom: 0px;
}

ol.paging {
	text-align: center;
    display: inline-block;
}

.page-numbers {
    text-align: center;
}

.results-per-page form {
    display: inline-block;
    margin: 0;
}

.results-per-page select {
    display:inline-block;
    width:auto;
}

.results-per-page label {
    margin: 0.5em 0 0 2em;
}

.option {
	padding: 10px 10px;
	background-color: #f3f3f3;
        border-radius: 10px;
	margin: 10px 0;
	/*cursor: pointer;*/
	transition: background-color 300ms;
}

.option.unapproved {
	opacity: 0.8;
	background-color: rgb(255, 202, 202);
}

/*.option:hover {*/
	/*background-color: #fcfcfc;*/
/*}*/

.option .title {
	font-weight: bold;
	font-size: 110%;
}
.option.selected {
	background-color: #ececd0;
}

/*.option.selected:hover {*/
	/*background-color: #f7f7db;*/
/*}*/

.left {
	text-align: left;
}

.right {
	text-align: right;
}

.required-field {
    white-space:nowrap;
    color:red;
}

.inline-preference {
    width: 4em;
    display: inline-block;
}
.report-problem, .report-problem:visited {
    background-color: #bb0000;
    display: block;
    width: 20em;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    margin: auto;
}

.page-strapline {
    margin-bottom: 0;
}

.collapsed h1.title {
    margin-bottom: 0;
}

.collapsed {
    padding-bottom:0;
}

.filter-content__padding {
    padding-top: 1em;
}

button.button-no-style {
    padding: 0.4em;
    margin: 0;
    line-height: 1em;
    height: initial;
    background-color: initial;
    color: initial;
    vertical-align: initial;
}

button.button-no-style:hover {
    background-color: initial;
}

span.option-in-basket-location {
    width: 1.5em;
    display: inline-block;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

form#KeywordsPrepluginForm div.input > input.filter-search {
    width: 80%;
}

div.input > input.filter-search {
    margin: 1em 0;
}