@charset "UTF-8";
/* Procesar con sass mediante el comando
   sass --watch inspecciones/inspecciones.scss:inspecciones/static/inspecciones.css
*/
/*
   Plantilla base SCSS.
   Marco Romera Corral. 2016-07-21. 2017-05-18
*/
/*
 * Footer resuelto con flexbox (CSS3)
 * https://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/
 * https://css-tricks.com/snippets/css/a-guide-to-flexbox/
 * http://www.w3schools.com/css/css3_flexbox.asp
 */
body {
  display: flex;
  min-height: 100vh;
  flex-direction: column; }

main.content {
  flex: 1; }

#footer {
  display: block; }

/*
 * Tipografías y colores
 */
body {
  color: #333;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 100%;
  margin: 0; }

h1 {
  font-size: 2.25em; }

h2 {
  font-size: 2.251 0.5em; }

h3 {
  font-size: 2.251 0.3125em; }

h4 {
  font-size: 2.251 0.125em; }

h5 {
  font-size: 2.251em; }

input, button {
  color: #333;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 100%; }

select, textarea {
  color: #333;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 90%;
  padding: 6px; }

* {
  box-sizing: border-box; }

/*
 * Dimensiones y distribución del espacio
 */
main.content {
  max-width: 90em;
  width: 100%;
  padding: 1em 6%;
  margin: auto; }

#footer {
  background-color: #2a2730;
  color: #99979c;
  padding: 1em; }

section {
  margin-top: 1.5em;
  margin-bottom: 1.5em; }

/* Grid de columnas */
/**
 * Botones y enlaces tipo boton
 */
button, a.boton:link, a.boton:visited {
  background-color: #008CBA;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius: 5px;
  border: none;
  /*display: inline-block;*/ }

a.secondary {
  background-color: #ddd;
  border: none;
  color: #333;
  padding: 10px 20px;
  border-radius: 5px;
  display: inline-block;
  text-decoration: none; }

button:hover, button:active, a.boton:hover, a.boton:active {
  background-color: #20ACEA;
  color: white; }

button:hover {
  cursor: pointer;
  filter: brightness(1.2); }

.botones {
  padding: 10px 0 10px 0; }

.botones a {
  margin: 4px 3px; }

/**
 * Formularios
 */
table.form th {
  text-align: right;
  padding-right: 1em; }

.errorlist {
  color: #B00;
  font-weight: bold;
  list-style-type: none;
  margin: 0;
  padding: 0; }

.has-error input {
  border-color: #a94442;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset; }

input {
  display: block;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #555;
  font-size: 90%;
  height: 2.4em;
  padding: 6px 12px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
  transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s; }

input[type="checkbox"] {
  height: 1rem;
  width: auto;
  vertical-align: middle;
  display: inline-block; }

input[type="file"] {
  border: 0;
  box-shadow: none;
  height: auto; }

textarea {
  display: block;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset; }

.form-group {
  display: inline-block;
  vertical-align: bottom;
  padding: 0 0.7em 0 0.7em;
  margin: 5px 0 5px 0;
  margin-right: -4px; }

.form-group label {
  display: inline-block; }

select {
  color: #333;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 90%;
  height: 2.1rem;
  display: block;
  width: 13rem;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
  transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s; }

select[multiple] {
  height: auto; }

/**
 * Barra de navegación
 */
nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #eee; }

nav li {
  float: left;
  border-right: 1px solid #bbb; }

nav li a {
  display: block;
  color: #555;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none; }

/* Change the link color to #111 (black) on hover */
nav li a:hover {
  filter: brightness(1.2);
  color: #333; }

/* paneles */
/* tablas de listado de campos */
table.campos {
  width: 100%;
  padding: 20px; }
  table.campos th {
    text-align: right;
    padding-right: 1em;
    text-align: top; }
  table.campos th, table.campos td {
    border-bottom: 1px solid #bbb; }
  table.campos tr {
    line-height: 2.2em; }

/* avisos */
.alert {
  color: #8a6d3b;
  background-color: #fcf8e3;
  padding: 20px;
  border-color: #faebcc;
  border-radius: 4px;
  border: 1px solid transparent;
  margin-top: 1em;
  margin-bottom: 1em; }

/* Tabla con listado de datos */
table.listado {
  margin: 20px 0 20px 0;
  width: 100%; }

table.listado > thead > tr > th {
  border-bottom: 2px solid #333;
  margin: 0; }

table.listado, td {
  text-align: center; }

table.listado tr {
  height: 2.5rem; }

:disabled {
  background-color: #eee; }

label {
  vertical-align: top; }

label.required:after {
  content: "*"; }

label.required {
  font-weight: bolder; }

/* Labels */
.label {
  display: inline-block;
  padding: .25em .40em;
  font-size: 75%;
  font-weight: 700;
  color: #fff;
  border-radius: .25rem;
  text-align: right; }

.label-success {
  background-color: #28a745 !important; }

.label-warning {
  background-color: #ffc107 !important; }

.label-error {
  background-color: #dc3545 !important; }

.label-secondary {
  background-color: #6c757d !important; }

/*
   Plantilla paginador SCSS.
   Jose Froylan Malaga Cardoza. 2018-03-21
*/
nav.paginador {
  height: 34px; }

nav.paginador ul {
  height: 100%;
  list-style-type: none;
  border: 2px solid #ddd;
  border-right: 0;
  border-bottom-left-radius: 6px;
  border-top-left-radius: 6px;
  background-color: white;
  display: inline-block; }

nav.paginador li {
  height: 100%;
  width: 40px;
  border-right: 2px solid #ddd;
  display: inline-block; }

nav.paginador a {
  height: 100%;
  width: 100%;
  padding: 12%; }

nav.paginador a.pagina_actual {
  background-color: #008CBA;
  color: white;
  height: 100%;
  width: 100%;
  padding: 12%; }

/*
.form-group {
    display: inline-block;
    vertical-align: bottom;
    padding: 0 0.7em 0 0.7em;
    margin: 5px 0 5px 0;

}

nav li a:hover {
 */
/*
  border: 2px #ddd;
  border-style: solid;
 */
/*
This scss code is to control the visual efects of the picture_display module
Full documentation can be found in readme file of videca

Julen Paton
28 may 2018

*/
/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 3;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
  margin: 0; }

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  height: 100%; }

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: none;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px; }

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s; }

@keyframes zoom {
  from {
    transform: scale(0); }
  to {
    transform: scale(1); } }

/* The Close Button */
#close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 30px;
  font-weight: bold;
  transition: 0.3s; }

#close:hover, #close:focus, #previous:hover, #previous:focus, #next:hover, #next:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer; }

/* The Previous Button */
#previous {
  position: absolute;
  top: 50%;
  left: 10%;
  color: #f1f1f1;
  font-size: 45px;
  font-weight: bold;
  transition: 0.3s; }

/* The Next Button */
#next {
  position: absolute;
  top: 50%;
  right: 10%;
  color: #f1f1f1;
  font-size: 45px;
  font-weight: bold;
  transition: 0.3s; }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%; } }

img.opacity:hover {
  opacity: 0.7;
  cursor: pointer; }

h2 {
  margin: 0rem;
  margin-bottom: 0.5rem; }

h3 {
  margin: 0.5rem 0rem; }

.data {
  border: 2px solid #bce8f1;
  border-radius: 0.4em;
  padding: 0.5rem 0.5rem 0.5rem 0.5rem;
  margin: 1.4em 0 1.4em 0; }
  .data h3 {
    background: #D9EDF7;
    color: #008CBA;
    padding: 0.7em;
    margin: -0.5rem -0.5rem 0.5rem -0.5rem;
    border-radius: 0.25em 0.25em 0 0; }

/* MESSAGES */
.message-info {
  padding: 0.5rem 2rem;
  background-color: #cce5ff;
  border-radius: 4px; }

.message-info p {
  font-weight: bold; }

/* FIELDS */
input, select {
  width: 14rem; }

textarea.textarea_small {
  max-width: 14rem; }

textarea.textarea_big {
  max-width: 29rem; }

textarea {
  min-height: 6.5rem;
  display: block;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 4px;
  color: #555;
  padding: 6px 6px 6px 6px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }

select.select_multiple {
  min-height: 6.5rem; }

/* LINKS & BUTTONS */
a {
  color: #008CBA;
  text-decoration: none; }

a:visited {
  color: #105b9b; }

.navbar a:visited {
  color: #333; }

nav.navbar li a:hover {
  background-color: #008CBA !important;
  color: white;
  text-decoration: none !important; }

a:hover {
  text-decoration: underline; }

.secondary2 {
  background-color: white;
  border: 2px solid #008CBA;
  color: #008CBA;
  padding: 8px 20px;
  border-radius: 5px;
  display: inline-block;
  text-decoration: none; }

.secondary2:hover {
  filter: brightness(1.2);
  text-decoration: none;
  cursor: pointer; }

.secondary:hover {
  color: #333;
  background-color: #eee;
  text-decoration: none; }

/* NAVBAR */
.navbar {
  width: 100%;
  z-index: 2; }

nav li a:hover {
  background-color: #008CBA !important;
  color: white;
  text-decoration: none !important; }

nav.navbar li a {
  text-align: left; }

nav li.dropdown .dropdown-content {
  display: none;
  position: absolute;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 10;
  background-color: #eee;
  min-width: 8rem; }

/*.dropdown:hover .dropdown-content {  display: block; }*/
div.navbar-a {
  display: inline-block;
  margin: 14px; }

#nav_usuario {
  border-right: 0px;
  border-left: 1px solid #bbb;
  float: right; }

#nav_usuario .dropdown-content {
  right: 0rem; }

#nav_usuario a {
  text-align: center; }

#user-link:hover {
  text-decoration: none; }

nav.login {
  text-align: left !important; }

nav.botones {
  text-align: right; }

nav.enlaces {
  min-width: 5rem;
  text-align: right; }

nav.enlaces a {
  margin: 0.5rem 0.5rem;
  display: inline-block; }

/* BREADCRUMBS */
nav.breadcrumbs {
  padding: 1em; }

nav.breadcrumbs div {
  display: inline-block; }

/* SEARCH MODULE */
#data_search_div {
  margin: 0rem 0rem 1rem 0rem;
  padding: 0.5rem;
  padding-bottom: 0rem;
  border: 2px solid #008CBA;
  border-radius: 4px; }

#search_show {
  border-radius: 4px;
  border: 2px solid #008CBA;
  color: #008CBA;
  background-color: white; }

dt {
  font-weight: bold; }

div.title-multiple {
  display: flex;
  justify-content: space-between; }

/* TABLES */
table.listado > tbody > tr:hover > td, table.listado > tbody > tr:hover > th {
  background-color: #eee; }

table.listado > tbody > tr > td {
  vertical-align: top;
  border-top: 2px solid #eee; }

tr.yellowmark {
  background-color: #FFFFCC !important; }

th.table-text, td.table-text {
  text-align: left; }

/* SECTIONS */
section.data p {
  display: inline-block;
  vertical-align: top; }

section.data > div.row:nth-child(even), div.avisos > div {
  background-color: #eee; }

section.avisos > div > div {
  width: 15.7rem;
  display: inline-block;
  padding: 0px 11px;
  margin: 3px;
  border: 2px solid #eee; }

section.avisos > div > div:nth-child(even) {
  background-color: #eee;
  min-width: 15rem;
  max-width: 20rem;
  display: inline-block; }

section.smallbox {
  display: inline-block;
  vertical-align: top;
  min-width: 15rem;
  max-width: 30rem;
  margin-right: 2rem; }

/* TEXT ADAPTATION ACCORDING SCREEN WIDTH */
span.navhome {
  display: none; }

@media (max-width: 930px) {
  span.text {
    display: none; }
  span.navhome {
    display: block; }
  span.navhome img {
    width: 21px;
    margin: -5px; } }

@media (max-width: 670px) {
  th.span670, td.span670 {
    display: none; } }

@media (max-width: 520px) {
  th.span520, td.span520 {
    display: none; } }

@media (max-width: 490px) {
  th.span490, td.span490 {
    display: none; } }

@media (max-width: 450px) {
  th.span450, td.span450 {
    display: none; } }

@media (max-width: 400px) {
  th.span400, td.span400 {
    display: none; } }

#redirect {
  background-color: white;
  border: 2px solid #008CBA;
  color: #008CBA;
  padding: 8px 20px;
  border-radius: 5px;
  display: inline-block;
  text-decoration: none; }

/* PICS & VIDEOS */
div#imagenes {
  display: inline; }

div.media {
  display: inline-block;
  margin: 1em 0.5em 0em 0em;
  background-color: #eee;
  border: 2px solid #ddd;
  vertical-align: top; }

div.imagen {
  padding: 0px 10px;
  width: 14rem; }

div.imagen img.imagen_pic {
  height: 180px; }

img.imagen_pic {
  width: 100%; }

#imgform div.row, #videoform div.row {
  margin: 0px 10px 10px 0px;
  padding: 5px;
  min-width: 15rem;
  max-width: 24rem;
  display: inline-block;
  vertical-align: top;
  border: 2px solid #eee; }

#imgform div.row, #videoform div.row {
  background-color: #eee;
  vertical-align: bottom; }

.video {
  padding: 10px 10px 0px 10px; }

.video video {
  width: 300px;
  height: 240px; }

#docform div {
  display: inline-block;
  background-color: #eee;
  padding: 0.5rem;
  margin: 0rem 0.75rem 0.75rem 0rem; }

.table-text {
  text-align: left !important; }

/* DETAIL STYLE */
.dl-detail {
  display: inline-block;
  vertical-align: top;
  margin: 0rem;
  margin-right: 1rem; }

.div-detail {
  display: block;
  margin-top: 0.75rem; }

.div-detail dt {
  vertical-align: top;
  display: inline-block;
  width: 6.5rem; }

.div-detail dd {
  display: inline-block;
  width: 11.75rem;
  margin: 0rem;
  margin-left: 1.25rem; }

.div-detail dd.text_long {
  display: block;
  max-width: 40rem;
  width: 100%;
  margin: 0rem;
  margin-left: 1.25rem; }

/* FORM STYLE */
.div-form {
  display: inline-block; }

.div-form div {
  display: inline-block;
  vertical-align: top;
  margin: 0rem;
  margin-top: 0.5rem;
  padding-right: 1rem; }

.data {
  padding-left: -1px; }

.icon {
  width: 18px;
  margin-bottom: -7px;
  vertical-align: top; }

/* MAP */
div#mapa, div#mapafoto {
  width: 100%;
  max-width: 42em;
  display: inline-block;
  padding-right: 36pt;
  margin-top: 1em; }

div#mainmap, div#fotomap {
  position: sticky !important; }

div#ficha {
  display: none;
  margin: 0rem 0rem 0rem 0.5rem; }

#get_coords {
  display: none; }

p.div-p {
  height: 25px;
  width: 25px;
  background-color: #008CBA;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  padding-left: 7px;
  font-size: 150%;
  margin-top: 7px;
  margin-left: -8px; }

p.div-p-pic {
  height: 25px;
  width: 25px;
  background-color: #008CBA;
  color: white;
  font-weight: bold;
  border: 1px solid white;
  border-radius: 50%;
  padding-left: 6px;
  font-size: 120%;
  margin: 2px 0px; }

p.fototitulo {
  margin: 29px 0px; }

.leaflet-container:after {
  animation: leaflet-gestures-fadein 0.8s backwards;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 22px;
  justify-content: center;
  display: flex;
  align-items: center;
  padding: 15px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 461;
  pointer-events: none; }

.leaflet-gesture-handling-touch-warning:after {
  animation: leaflet-gestures-fadein 0.8s forwards; }

.leaflet-gesture-handling-touch-warning:after {
  content: attr(data-gesture-handling-touch-content); }

div.arrow-down {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #333;
  margin-left: 5px;
  display: inline-block; }

div.arrow-up {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #333;
  margin-left: 5px;
  display: inline-block; }

/* D3 SVG */
#btn_d3_time {
  margin: 1rem 0; }

.svg-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around; }

.svg-box svg {
  display: inline-block;
  margin-bottom: 1rem; }

.road_info {
  background: #eee;
  box-shadow: 0 0 5px #999999;
  color: #333;
  display: none;
  padding: 4px;
  position: absolute;
  text-align: left;
  font-weight: bold;
  z-index: 10; }

.y_axis line {
  stroke: #ddd;
  stoke-opacity: 0.2; }

.zero line {
  stroke: currentColor;
  stoke-opacity: 1; }

div.d3_graph svg {
  display: inline-block;
  margin: 0rem 1rem 1rem 0rem; }

path.area {
  fill: #14b872;
  stroke: #b8145a; }

svg.svg_link {
  width: 17px;
  vertical-align: bottom; }

svg.svg_link path {
  fill: #008CBA; }

#d3_home_main_type {
  margin: 1rem 0 3rem 0; }

#d3_home_main_type form, #d3_home_main_type p {
  display: inline; }

#d3_home_main_type select {
  display: inline;
  width: 40%;
  max-width: 14rem;
  margin-left: 0.5rem; }
