﻿.text-color-red {
    color: #c0291f;
}

.text-color-gray {
    color: #767272;
}

/* TARJETAS DE LOS LOGS */

.card-log {
    border: none;
    width: 100%;
    height: 130px;
    padding: 0.5em 0.7em;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    background-color: #efefef;
}

.card-log__title {
    text-transform: uppercase;
    font-size: 13px;
    padding: 5px 0;
    margin: 0;
    width: 100%;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-log__description {
    text-align: center;
    color: #575757;
    font-size: 12px;
    margin: 0;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* SWITCH */

.switch {
  padding: 1px;
  width: 8vh;
  height: 4vh;
  border: 1px solid #d3d3d3;
  border-radius: 30px;
}

.switch__view {
  width: 100%;
  height: 100%;
  background-color: #d3d3d3;
  border-radius: 30px;
  position: relative;
  cursor: pointer;
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
}

.switch__view::after {
  content: " ";
  background-color: #fff;
  border: 1px solid #d3d3d3;
  box-shadow: 2px 0 5px 0 rgba(0, 0, 0, 0.2);
  border-radius: 100%;
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
}

.switch__view::before {
  content: "OFF";
  width: 100%;
  height: 100%;
  position: absolute;
  font-size: 0.5em;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 15%;
  color: #333;
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
}

.switch__view--on {
  background-color: #32d600;
}

.switch__view--on::after {
  border: 1px solid #32d600;
  box-shadow: -2px 0 5px 0 rgba(0, 0, 0, 0.2);
  left: 50%;
}

.switch__view--on::before {
  content: "ON";
  justify-content: flex-start;
  color: #fff;
}

.switch__control {
  display: none;
}

/* NOTAS */

.note {
    background-color: #EFEFEF;
    border-left: 3px solid rgba(0, 0, 0, 0.2);
    border-right: 3px solid rgba(0, 0, 0, 0.2);
    padding: 1em 1em;
}

.note--info {
    background-color: #82acff;
    color: #FFF;
}

.note--warning {
    background-color: #ffcb7e;
}

.note--error {
    background-color: #ff8080;
    color: #FFF;
}

.note--success {
    background-color: #a0ff89;
}

.note__text {
    text-align:center;
    margin: 0;
}

.msg-max-lenght {
    font-size: 13px;
    color: #3075ff;
}

.msg-max-lenght::before {
    content: '(';
}

.msg-max-lenght::after {
    content: ')';
}

/* CONTROL SEARCH */

.control-search {
    width: 100%;
    position: relative;
}

.control-search__input {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding-right: 50px;
}

.control-search__btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 15px;
}

/* Información tecnica */

.card-info-tecnic {
    margin: 5px;
    width: 100%;
    height: 85px;
    border-radius: 5px;
    background-color: #f3f3f3;
}

.card-info-tecnic__header {
    width: 100%;
    padding: 2px 5px;
    border-bottom: 1px solid #d3d3d3;
    display: flex;
    justify-content: space-between;
}

.card-info-tecnic__identifier {
    text-transform: uppercase;
}

.card-info-tecnic__title {
    text-transform: uppercase;
    color: #636364;
    text-align:center;
    font-weight:bold;
}

.card-info-tecnic__description {
    font-size: 13px;
    width: 100%;
    max-width: 100%;
    height: 100%;
}

@media screen and (max-width: 1000px) {
    .card-info-tecnic {
        height: auto;
    }
}

