.block-publicatuanuncio.mobile {  display: none; width: 2em; }

.tc_container {
    text-align: left;
    min-height: 80vh;
    width: 90vw;
    max-width: 100%;
    margin: 0 auto;
}

h1.tc_title {
    font-size: 1.4em;
    font-weight: 700;
}

h1.tc_title:before {
    font-family: FontAwesome;
    content: "\f029";
    text-align: left;
    margin-left: .25em;
    margin-right: .25em;
    margin-top: .3em;
    font-size: 2em;
    float: left;
}

.header>.wrapper-topmenu {
    box-shadow: none;
}

h1.tc_title>button {
    float: right;
    margin: 0.5em 0.25em;
}

.tc_container > .tc_title > button {
    font-size: 1.5em;
}

div#instructions {
  padding: 1em;
}

/*h1.tc_title>button+button {
    margin-left: 1em;
}
*/
span.tc_subtitle {
    display: block;
    margin-top: -.5em;
    margin-bottom: 1em;
    padding-bottom: .5em;
    color: grey;
    border-bottom: 1px solid grey;
}

.tc_actions {
    text-align: center;
    margin-top: 1em;
}

div#mapActions {
    text-align: center;
    margin-top: 1em;
}

td>i {
    font-size: 2em;
    padding: .6em;
}

#tc_actions {
  margin-top: 1em;
  border: 1px solid #cbdbe5;
  border-radius: 4px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
#tc_actions tr td {
  vertical-align: middle;
  border-top: 1px solid #d8e5ec;
}

#tc_actions tbody tr:first-child td {
  border-top: 0;
}

#tc_actions tbody tr.odd > td {
  background-color: #fff;
}

#tc_actions tbody tr.even > td {
  background-color: #edf6fa;
}

#tc_actions tbody tr:hover > td {
  background-color: #e2f0f7;
}

a.btn.btn-primary[disabled], a.btn.btn-primary[disabled] * {
    background-color: grey;
    cursor: wait;
}

a.btn.btn-primary[disabled]>i.icon-play:before {
    content: "\f017";
}

#tc_actions a.btn.btn-success[disabled]>i.icon-play:before {
    content: "\f017";
}

#tc_actions a.btn.btn-success[disabled] {
    background-color: #5bb75b;
    background-image: none;
    border-color: #51a351;
    color: #fff;
    cursor: default;
    filter: none;
    opacity: 1;
}

#tc_actions tr td:last-of-type {
  text-align: right
}

.tc_labels {
    height: auto;
}

.tc_distance.label {
    border-radius: 2px;
    padding: 0.3em 1em;
    margin: 1em auto;
}

#tooFar, #error, #process, #result, #locating {
    position: relative;
    width: 58vw;
    padding: 1em;
    top: -7em;
    line-height: 1.2;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
}
#tooFar, #error {
    display: none;
}

#tooFar{
  top: 0em !important;
}

.tc_image {
    overflow: hidden;
    height: 9em;
}

.tc_image > img {
    width: 100%;
    transform: translateY(-25%);
}

.btn {
    width:  3em;
    height: 2em;
    font-size: 1.5em;
    line-height: 1.5em;
    text-shadow: 1px 1px 2px #333;
}

#mapActions a.btn, #tc_actions a.btn {
  padding: 0;
  display: inline-grid;
  place-content: center;
  border-radius: 3em;
  width: 2em;
  margin: .2em;
}

/* .btn.showIfNear {
    visibility: hidden;
    opacity: 0;
    transition: opacity 2s;
} */

div#map {
    width: 90vw;
    max-width: 600px;
    height: 90vw;
    max-height: 600px;
    margin: 0 auto;
}

.marker {
    background-image: url(../../img/assets/qrmaps/base.png);
    background-size: cover;
    width: 42px;
    height: 42px;
    cursor: pointer;
}

i.icon.icon-cog.gly-spin {
    display: inline-block;
}
.gly-spin {
  -webkit-animation: spin 2s infinite linear;
  -moz-animation: spin 2s infinite linear;
  -o-animation: spin 2s infinite linear;
  animation: spin 2s infinite linear;
}
@-moz-keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(359deg);
  }
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
  }
}
@-o-keyframes spin {
  0% {
    -o-transform: rotate(0deg);
  }
  100% {
    -o-transform: rotate(359deg);
  }
}
@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
.gly-rotate-90 {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}
.gly-rotate-180 {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}
.gly-rotate-270 {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
  -webkit-transform: rotate(270deg);
  -moz-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  -o-transform: rotate(270deg);
  transform: rotate(270deg);
}
.gly-flip-horizontal {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);
  -webkit-transform: scale(-1, 1);
  -moz-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  -o-transform: scale(-1, 1);
  transform: scale(-1, 1);
}
.gly-flip-vertical {
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);
  -webkit-transform: scale(1, -1);
  -moz-transform: scale(1, -1);
  -ms-transform: scale(1, -1);
  -o-transform: scale(1, -1);
  transform: scale(1, -1);
}

.alert-success {
  margin-top: 1.5em
}

.text-right {
  text-align: right !important;
}

/* .markerTitle {
    font-variant: all-small-caps;
    position: absolute;
    bottom: -2.5em;
    background: rgba(0,0,0,.5);
    width: 6.5em;
    color: #eee;
    padding: .1em 1em;
    border: 3px double #eee;
    overflow: hidden;
    text-align: center;
    left: -2.45em;
    text-shadow: 1px 1px 1px #000;
    font-size: 1.2em;
} */

/* .markerTitle {
  font-variant: all-small-caps;
  background: rgb(50 146 206 / 90%);
  color: #eee;
  padding: 0.1em 1em;
  text-shadow: 1px 1px 1px #a9a9a9;
  font-size: 1.2em;
  white-space: nowrap;
  border-radius: 4px;
  position: relative;
  left: 123%;
  top: 1em;
  display: inline-block;
  line-height: 1.1;
  height: 1.4em;
} */

.mapboxgl-popup-content h1 {
    color: #222;
    text-transform: uppercase;
    border-bottom: 1px solid;
    padding-bottom: 0.2em;
    margin-bottom: .8em;
    line-height: 1;
}

.mapboxgl-popup-content div {
    line-height: 1.1
}

.tab-pane table {
  display: none;
}

@media (max-width: 767px) {
  .nav.nav-tabs>li {
      width: 50%;
  }
}

/* Prioridades */

.bubblePriority{
    border-radius: 3px;
    font-size: 10px;
    margin: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0px 7px 0px 7px;
    min-width: 83px;
    border: 1px solid;
    height: 18px;
}
span[class^="labelPriority"], span[class*=" labelPriority"] {
    border: 1px inset #aaa;
    padding: 2px 5px;
    border-radius: 20px;

}

.labelPriority_no-asignada{
    color: #222;
    background-color: #fff;
}
.labelPriority_por-hacer{
    color: #fff;
    background-color: #282a3c;
}
.labelPriority_entre-reservas{
    color: #fff;
    background-color: #5578eb;
}
.labelPriority_hoy-24h{
    color: #fff;
    background-color: #ee8800;
}
.labelPriority_ahora-mismo{
    color: #fff;
    background-color: #dc3545;
}

.marker[class^="labelPriority"], .marker[class*=" labelPriority"] {
  background-color: transparent;
}

.marker.labelPriority_no-asignada{
  background-image: url(../../img/assets/qrmaps/noasignada.png);
}
.marker.labelPriority_por-hacer{
  background-image: url(../../img/assets/qrmaps/porhacer.png);
}
.marker.labelPriority_entre-reservas{
  background-image: url(../../img/assets/qrmaps/entrereservas.png);
}
.marker.labelPriority_hoy-24h{
  background-image: url(../../img/assets/qrmaps/hoy24h.png);
}
.marker.labelPriority_ahora-mismo{
  background-image: url(../../img/assets/qrmaps/ahoramismo.png);
}
.marker.gps {
  background-image: url(../../img/assets/qrmaps/cleaner150.png);
  width: 60px;
  height: 70px;
}

.mapboxgl-popup-content {
  box-shadow: 2px 2px 4px rgba(0,0,0,.5);
}

.marker.busy:after {
  content: '';
  display: inline-block;
  width: 50px;
  height: 39px;
  background-image: url(../../img/assets/qrmaps/family.png);
  background-size: contain;
  margin-left: -1em;
  margin-top: 1em;
}

a.btn.wide {
  width: 85%;
  font-size: 1.3em;
  border-radius: 5px;
}

.row-fluid .span6 {
  width: 48.93617021276595%;
  margin-left: 2.127659574468085%;
  float: left;
  margin-top: 1em;
}

.tdTextId a.linkMark {
  border-radius: 3px;
  padding: 0em .3em;
  display: inline-block;
  margin-bottom: .3em
}

div#qr_footer {
    margin: 1em 0;
    text-align: center;
}

div#qr_footer a {
    margin: 0;
    font-size: 1em;
    padding: 1em 0.1em;
    height: 8em;
    font-variant: all-small-caps;
    font-weight: 700;
    width: 24%;
    line-height: 0.8;
}

div#qr_footer a i {
    font-size: 3em;
    display: block;
    margin-bottom: .2em;
}

div#nav {
    background: #0175ba;
    border: 0;
    position: fixed;
    right: 6em;
    top: -2px;
    width: 15em;
    height: 3em;
    text-align: center;
    z-index: 999;
    border-radius: 0 0 9px 9px;
    box-shadow: 1px 1px black
}

/* div#nav {
  background: grey;
  border: 0;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 4em;
  text-align: center;
  z-index: 999;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
} */

div#nav a {
    background: 0;
    border: 0;
    display: inline-block;
    text-align: left;
    width: 1.6em;
    overflow: hidden;
    font-size: 1.9em;
    padding: 0px;
    height: 1.2em;
    text-align: center;
    box-shadow: none;
}

/* div#nav a {
  background: none;
  border: 0px solid grey;
  width: 1.5em;
  overflow: hidden;
  font-size: 1.9em;
  padding: 0;
  height: 1.4em;
  border-radius: 0;
  box-shadow: none;
} */

body {
  padding-bottom: 3em;
}

/* lodgingInfo */
.lodging-info {
    margin: 10px 0;
    overflow: hidden;
    border: 1px solid #cbdbe5;
    border-radius: 4px;
}

.lodging-info-title {
    width: 100%;
    padding: 12px 15px;
    border: 0;
    border-radius: 0;
    background: #eaf4f9;
    color: #087eae;
    font-size: 16px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lodging-info-title:hover,
.lodging-info-title:focus {
    background: #dceef6;
    color: #0674a3;
}

.lodging-info-title:focus {
    outline: none;
}

/* Versión desktop */
@media only screen and (min-width: 768px) {

  div#reader {
    width: 100%;
  }

  .tc_image, .tc_labels, #tc_actions, .lodging-info {
    width: 48%;
  }
  .tc_image, .tc_labels, #tc_actions, .lodging-info {
    margin-right: 1em;
    margin-bottom: 1em;
  }

  .tc_image {
    float: left;
    height: auto;
  }

  .tc_labels {
    position: absolute;
  }

  #tooFar, #error, #process, #result {
      top: 2em;
      height: auto
  }

  .tc_image img {
      transform: translateY(0);
  }

  div#map {
      border-top: 1px solid blue;
      padding-top: 1em;
      width: 100%;
      max-width: 100%;
      clear: both;
  }
}
