html,
body {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
}

/** {
    background: #000 !important;
    color: #0f0 !important;
    outline: solid #f00 1px !important;
}**/

.fondo {
  background-image: url("../img/Body-bg.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
a {
  text-decoration: none;
  display: inline-block;
}

/* LOGIN */
.btn-login {
  background-color: #095593;
}

/* galeria */
.gallery-item {
  display: flex;
  gap: 50px;
  justify-content: center;
  height: auto;
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* INSPECCIONES */
.scroll-box {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  height: 400px;
  overflow-y: scroll;
}

.scroll-box::-webkit-scrollbar {
  width: 6px;
}

.scroll-box::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 3px;
}

.scroll-box::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

/* ESTILOS DE PLANTILLA FOTO */
#camera-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-height: 400px;
  overflow-y: auto;
}
.captured-image-container {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.captured-image-container img {
  width: 100px;
  object-fit: cover;
  cursor: pointer;
}
.delete-btn {
  display: inline-block;
  padding: 2px 6px;
  background-color: #dc3545;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#capture-btn {
  margin-top: 10px;
}
#canvas {
  display: none;
}
video {
  width: 100%;
  max-width: 100%;
}
.alto {
  height: 250px;
}
h2 small {
  display: block !important;
  font-weight: lighter !important;
  font-size: 0.7em !important;
  margin-top: 0.4em !important;
  margin-bottom: 0.4em !important;
}

h5 {
  font-size: 1rem;
}

.select2 {
  /* width: 100% !important; */
  display: block;
}

.equipos {
  height: 400px;
  overflow: auto;
}

.float-btn {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #0c9;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  box-shadow: 2px 2px 3px #999;
}

.float-btn-camera {
  margin-top: 22px;
}

.owl-item {
  width: 80px !important;
}

.select-group input.form-control{ width: 65%}
.select-group select.input-group-addon { width: 35%; }

.loading-photo {
  --border-size: 3px;
  --border-angle: 0turn;
  background-image: conic-gradient(from var(--border-angle), #213, #112 50%, #213), conic-gradient(from var(--border-angle), transparent 20%, #08f, #f03);
  background-size: calc(100% - (var(--border-size) * 2)) calc(100% - (var(--border-size) * 2)), cover;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-animation: bg-spin 3s linear infinite;
  animation: bg-spin 3s linear infinite;
}
@-webkit-keyframes bg-spin {
  to {
    --border-angle: 1turn;
  }
}
@keyframes bg-spin {
  to {
    --border-angle: 1turn;
  }
}
.box:hover {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}

@property --border-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0turn;
}

input.ro:read-only{
  background: #efefef;
  cursor: not-allowed;
}
textarea.ro:read-only{
   background: #efefef;
   cursor: not-allowed;
}
input.ro:read-only:focus{
  background: #efefef;
}
textarea.ro:read-only:focus{
  background: #efefef;
}