/** bootstrap adaptations */
/* body {
    margin-top: 3em;
} */

@media (min-width: 768px) and (max-width: 991px) {
    body {
        margin-top: 6.5em;
    }
}

.navbar-nav i.fa {
    margin-right: 10px;
}

/** datagrid adaptations */
ul.grid-row-actions {
    margin: 0;
    padding: 0;
}

ul.grid-row-actions li a {
    list-style: none;
    display: inline-block;
    margin: 0 2px 0 0;
}


/** PDX stuff */
.ajax-fb {
    top: 5%;
    font-size: 1.2em;
    margin-top: 0;
    padding: 1em 1.3em;
    position: fixed;
    right: 20px;
    z-index: 2000;
}

.ajax-fb .close {
    margin-right: 10px;
}

.no-pad {
    padding: 0;
    margin: 0;
}

.pad-top {
    margin-top: 20px;
}

.well-padded {
    padding: 40px;
}

.pad-vertical {
    padding: 20px 0;
}

/** user login styles */
.checkbox label {
    margin-left: -14px;
    margin-bottom: 20px;
}

/** Forms stuff */
input.pdx-number, select.pdx-number {
    width: 100px;
}

textarea.pdx-textarea {
    height: 200px;
}

.form-group .control-label.required:after {
    content: "*";
    color: crimson;
    margin-left: 10px;
}

.help-block {
    font-style: italic;
    color: #737373;
    display: block;
    margin-bottom: 10px;
    margin-top: 5px;
}

.neg {
    color: red;
}

.pos {
    color: green;
}

.no-list-style {
    list-style-type: none;
}

.list-group-item-drag {
    color: #3a87ad;
    background-color: #d9edf7;
}

.list-group-item-drag-placeholder {
    color: #333333;
    background-color: #f5f5f5;
}

.list-group-user {
    position: relative;
    display: inline-block;
    width: 60px;
    padding: 10px 5px;
    margin-bottom: -1px;
    background-color: #ffffff;
    border: 1px solid #dddddd;
}

.sortable-members .list-group-item,
.sortable-teams .list-group-item {
    height: 50px;
    padding: 15px 15px 10px;
}

.sortable-members .avatar,
.sortable-teams .avatar {
    margin-top: -6px;
    float: left;
    margin-right: 10px;
}

/** FORMS */
.form-container {
    background-color: #efefef;
    padding: 30px;
    margin: 20px 0;
}

input.pdx-input-number, select.pdx-input-number {
    width: 100px;
}

input.pdx-input-small, select.pdx-input-small {
    width: 160px;
}

input.pdx-input-auto, select.pdx-input-auto {
    width: auto;
}

input.pdx-hidden {
    display: none;
}

.form-control {
    margin-bottom: 10px;
}

.pdx-action-btn-group {
    width: 100px;
}

textarea.form-control {
    height: 100px;
}

textarea.pdx-textarea-big {
    height: 200px;
}

textarea.pdx-textarea-cke {
    height: 600px;
}

.list-group-item-drag-placeholder {
    display: block;
}

.list-group-item-drag-placeholder.hidden {
    display: none;
}

.thumbnail {
    position: relative;
}

.thumbnail .photo {
    height: 175px;
    width: auto;
}

.thumbnail img {
    margin-right: auto;
    margin-left: auto;
    display: block;
    max-width: 100%;
}

.feed-item-data {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    z-index: 99;
}

.feed-item-data > span {
    display: block;
    float: left;
    padding: 4px 5px;
    text-align: center;
}

.feed-item-data > span.location {
    float: right;
    text-align: right;
}

.pagerfanta {
    text-align: center;
}

#project-filter {
    display: none;
}


.avatar {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 100px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.avatar .initials {
    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    color: #fff;
    font-size: 14px;
    text-align: center;
}

.avatar-medium {
    width: 100px;
    height: 100px;
}

.avatar-medium .initials {
    top: 8px;
    font-size: 58px;
}

.user-menu .content {
    position: relative;
    height: 16px;
    padding-left: 45px;
}

.user-menu .avatar {
    position: absolute;
    top: -7px;
    left: 10px;
}

.user-form .avatar {
    margin-bottom: 20px;
}

.user-profile .avatar {
    margin: 30px auto 20px;
}

/**
 * Edit route page styles
 */
.edit-route {
}

.edit-route .map {
    height: 400px;
}

/**
 * Project filters
 */
.project-filters .filters {
    position: relative;
    margin-top: 15px;
    padding-left: 18px;
    max-height: 300px;
    overflow-x: auto;
}

.project-filters input {
    width: 100%;
}


.photo-type-filter ul {
    padding-left: 18px;
    list-style: none;
}

.photo-type-filter ul li.selected {
    font-weight: bolder;
}
.photo-type-filter .disabled {
    opacity: 0.5;
}

.photo-type-filter i {
    color: #e95420;
}

/**
 * Assignment Answers page styles
 */

.assignment-answers .answer blockquote {
    font-size: 1.4em;
    width: 90%;
    margin: 0 auto 20px;
    font-family: Open Sans, sans-serif;
    font-style: italic;
    color: #555555;
    padding: 1.2em 30px 0 75px;
    border-left: 8px solid #e95420;
    line-height: 1.6;
    position: relative;
    background: #EDEDED;
}

.assignment-answers .answer blockquote::before {
    font-family: Arial, sans-serif;
    content: "\201C";
    color: #e95420;
    font-size: 4em;
    position: absolute;
    left: 10px;
    top: -10px;
}

.photo-library,
.assignment-answers {
    margin-top: 20px;
}

.photo-library h1,
.assignment-answers h1 {
    margin-bottom: 25px;
}

.assignment-answers .answer blockquote::after {
    content: '';
}

.assignment-answers .answer blockquote cite {
    display: block;
    color: #333333;
    font-size: .8em;
    font-style: normal;
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 1.2rem;
    text-align: right;
}

.assignment-answers .answer blockquote .meta {
    background: #bbb;
    margin-left: -75px;
    margin-right: -30px;
    padding: 0 10px;
    font-size: .7em;
    font-weight: bold;
}

.assignment-answers .answer blockquote .meta .phase {
    float: left;
    margin-right: 10px;
}

.assignment-answers .answer blockquote .meta .timestamp {
    float: right;
}
.collection-up, .collection-down, .collection-remove {
    margin-right: 2px;
}
.list-group-item.is-admin {
    display: inline-block;
    padding: 10px 5px;
}
.ff-project-list-header-title {
    padding-right: 200px;
}
.is-editing {
    border: 1px solid black;
}
.ucword::first-letter {
    text-transform: capitalize;
}

.ff-project-list-header-title {
    padding-right: 0;
}
.ff-project-list-header-title h3 {
    white-space: nowrap;
    max-width: 33rem;
    text-overflow: ellipsis;
    overflow: hidden;
}
.ff-project-list-header-options [class*="ff-btn-"] {
    white-space: nowrap;
}

.project-filters .ucword, .photo-type-filter .ucword {
    margin-top: 2.6em;
}

#ff-photo-library, #ff-group-answers, #ff-assignment-templates, #ff-btn-new-assignment-template {
    display: none !important;
}