@import 'styles/spinner.css';

html {
  height:100%;
}

ol, li {
  list-style:none;
  padding:0;
}

a {
  color:#6a8087;
}

select {
  border-color:#8b7e79;
  border-width:2px;
  border-radius:5px;
}

select:focus {
  outline:2px solid #ffab40;
}

nav {
  background:#66818b;
}

#toast-container {
  bottom:7%;
  left:auto !important;
  right:7%;
  top:auto !important;
}

#toast-container a {
  color:#b0bec3;
}

.brand-title {
  font-size:36px;
  color:#524a48;
}

.btn, .btn-large, .btn-small {
  background:#887269;
}

.btn:hover, .btn-large:hover, .btn-small:hover {
  background:#986960;
}

.btn:focus, .btn-large:focus, .btn-small:focus,
.btn:active, .btn-large:active, .btn-small:active {
  background:#7a544d;
}

.modal.bottom-sheet {
  max-height:65%;
}

.move-to-form__form [type="radio"]:not(:checked)+span,
.move-to-form__form [type="radio"]:checked+span {
  padding-left:25px;
}

.brand-wrapper {
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
}

.brand-wrapper > * {
  margin-right:20px;
}

.btn-xsmall {
  height: 24px;
  line-height: 24px;
  font-size: 11px;
}

.select-wrapper input.select-dropdown {
  padding-right:15px;
}

#application-menu a span {
  line-height:11px;
  font-size:11px;
}

#application-menu:not(.application-menu--connected) .application-menu__delete-remote {
  display:none;
}

.story-card__story-card {
  cursor:grab;
}

li.sortable-placeholder {
  border-radius:3px;
  background:#999;
  height:8px;
  margin:2px 0;
}

.new-story-form__form {
  display:none;
}

#global__section-top {
  display:flex;
  align-items:center;
  margin:20px 4%;
}

.new-story-form__form button {
  cursor:pointer;
}

.drive-button__drive-button {
  display:none;
  align-items:center;
  min-width:200px;
}

.data-synced .drive-button__drive-button,
.local-only .drive-button__drive-button {
  display:flex;
}

.drive-button__drive-button i {
  color:#999;
  margin-right:10px;
}

.drive-button__drive-button.drive-ready i {
  color:#E6E600;
}

.drive-button__drive-button.drive-disconnected i {
  color:#E6E600;
  cursor:pointer;
}

.drive-button__drive-button.drive-connected i {
  color:#00CC00;
}

.drive-button__drive-button .drive-button__status-info {
  font-style:italic;
  font-size:11px;
}

.story-card__ro-story-text {
  display: -webkit-box;
  overflow: hidden;
  padding-bottom:1px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  height:70px;
}

.story-card__rw-story-text,
.story-card__rw .story-card__ro-story-text {
  display:none;
}

.story-card__rw .story-card__rw-story-text {
  display: block;
}

.story-card__story-card .card-content {
  min-height:100px;
}

.story-card__story-card.story-card__rw .story-card__edit-link,
.story-card__story-card.story-card__rw a[is=archive-story-link],
.story-card__story-card.story-card__rw a[is=move-story-link],
.story-card__story-card:not(.story-card__rw) .story-card__save-link,
.story-card__story-card:not(.story-card__rw) .story-card__cancel-link,
.lane__lane:not([data-lane-type=complete]) a[is=archive-story-link],
.single-lane__single-lane:not([data-state=archived]) .story-card__story-card .card-action {
  display:none;
}

.global__board-controls,
.global__help-col {
  visibility:hidden;
}

.data-synced .global__board-controls,
.local-only .global__board-controls,
.data-synced .global__standard-views,
.local-only .global__standard-views,
.data-synced .global__help-col,
.local-only .global__help-col {
  visibility:visible;
}

.global__standard-views {
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  visibility:hidden;
}

.story-card--action.restore-story-link__restore-story-link {
  display:none;
}

.single-lane__single-lane[data-state=archived] .story-card--action.restore-story-link__restore-story-link {
  display:inline;
}

.drive-button__drive-button.drive-button--hidden {
  visibility:hidden;
}

.archive-story-link--link {
  display:none;
}

.data-synced .archive-story-link--link,
.local-only .archive-story-link--link {
  display:inline;
}

.data-synced .new-story-form__form,
.local-only .new-story-form__form {
  display:inline-block;
}

.single-lane__single-lane .lane__lane {
  display:flex;
  flex-direction:horizontal;
  flex-wrap:wrap;
}
.single-lane__single-lane .lane__lane .story-card__story-card {
  cursor:default;
  margin-right:15px;
  width:180px;
}

body.global--single-lane ol.story-board__story-board,
body.global--single-lane .new-story-form__form,
body.global--single-lane .global__board-controls,
.single-lane__single-lane {
  display:none;
}

.global--single-lane .single-lane__single-lane {
  display:block;
}

.global--single-lane .story-card__story-card .story-card--action {
  display:none;
}

.global__spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.global__modal-overlay {
  z-index: 999999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:#A0A0A0;
  opacity:0.6;
}

.global__spinner-container {
  display:none;
}

.global--saving .global__spinner-container {
  display:block;
}

.story-card__story-card.story-card--archiving .archive-story-link--link,
.story-card__story-card.story-card--restoring .archive-story-link--link {
  display:none;
}

.story-board__story-board {
  display:none;
  flex-direction:row;
}

body.data-synced .story-board__story-board,
body.local-only .story-board__story-board {
  display:flex;
}

.move-to-select__select {
  width:150px;
  text-overflow:ellipsis;
}

.story-card__story-card .story-card__move-controls {
  display:none;
}

.story-card__story-card.story-card--moving .story-card__move-controls {
  display:block;
}

.move-to-form__form {
  font-size:11px;
  line-height:34px;
}

.global__board-controls .btn {
  margin-bottom:3px;
}

.single-lane__single-lane .story-card__story-card hr {
  display:none;
}

.lane__story-list,
.single-lane__single-lane .lane__lane {
  background:#f1edec;
  height:100%;
  min-height:150px;
  padding:5px;
}

form[is=new-story-form] .input-field {
  margin:0;
}

.global__standard-views .btn-flat {
  height:36px;
  line-height:38px;
}

ol.story-board__story-board li.lane__lane {
  float:none;
  height:initial;
}

.story-card--moving .story-card__content-hr {
  display:none;
}

li.story-card__story-card.card:focus {
  outline:#ffab40 solid 1px;
}

.board-select__board-select {
  width:200px;
}

.help-modal--section-description {
  font-size:12px;
  font-style:italic;
}

#global__help-modal.help-modal__help-modal .modal-content p {
  margin-bottom:10px;
}

#global__help-modal.help-modal__help-modal .modal-content dl dt {
  font-size:12px;
  font-weight:bold;
  padding-bottom:5px;
}

#global__help-modal.help-modal__help-modal .modal-content dl dd {
  font-size:11px;
  margin:3px 0;
}

#global__help-modal.help-modal__help-modal .modal-content dl dd .help-modal--shortcut-description {
  font-weight:bold;
}

#global__help-modal.help-modal__help-modal .modal-content dl dd .help-modal--shortcut-keys {
  font-style:italic;
}

#global__help-modal.help-modal__help-modal .modal-content + .row {
  margin-bottom:0;
}

.global__board-controls > .row {
  display:flex;
  flex-wrap:wrap;
}

@media only screen and (max-width:1192px) {
  .global__board-controls > .row > .col:nth-child(2) {
    margin-top:10px;
  }
}

@media only screen and (max-width:525px) {
  .story-board__story-board .lane__lane h5 {
    font-size:18px;
  }
}

@media only screen and (max-width:805px) {
  .story-card__ro-story-text {
    height:50px;
  }
}

@media only screen and (max-width:1175px) {
  .lane__lane[data-lane-type=complete] .story-card__story-card a[is=move-story-link] {
    display:none;
  }
}

.global__help-col a {
  color:#66818b;
}

.global__help-col a i {
  display:inline-block;
  color:#fff;
}

