/*************** 2023 *****************/
/* Creado por Leandro Pérez Barbieri */
/********** Citra Backups ***********/
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Global Variables */
:root {
    --color1: #2d3439;
    --color2: #526470;
    --color2Hover: #415059;
    --color3: #fff;
    --fontPrimary:'Lato', sans-serif;
    --fontSecondary:'Poppins', sans-serif; ;
}

body {
	background: #2d3439;
	margin: 0;
}

h1, p, label, thead, th {
	font-family: var(--fontPrimary);
}

table.sortable {
	width: 100%!important;
}

h1 {
    line-height: 0px;
    margin-bottom: 25px;
    font-weight: 900;
    text-transform: uppercase;
}

div.heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#search {
    border-radius: 20px;
    border: 1px solid #8b98a1;
    margin: 20px 15px;
    padding: 11px;
    font-family: var(--fontPrimary);
    text-transform: uppercase;
}

#search:active {
    border: 1px solid #8b98a1;
}

.btn {
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    font-weight: 300;
    border-radius: 20px;
    font-size: 10px;
}

.btn.primary {
    background-color: var(--color2);
    color: var(--color3);
}

.ping {
    padding: 5px 10px;
    font-size: 11px;
}

.sortable thead th {
	background: #384047!important;
}
.sortable tbody {
	--td-color: #384047!important;
}
.sortable tbody tr:nth-child(odd) {
    background-color: #a4b1bb!important;
	}

#result {
    max-width: 70%;
}

.console {
    background: black;
    color: white;
    font-family: monospace;
    font-size: 11px;
}

.overflow {
    max-height: 60vh;
    overflow: auto;
    padding: 0px 5px 0px 0px;
}

.overflow::-webkit-scrollbar {
    width: 10px;
}
 
.overflow::-webkit-scrollbar-track {
    background-color: #ced7df5e;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.overflow::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background-color: #737c85; 
}
.overflow::-webkit-scrollbar-thumb:hover {
    background-color: #636c75;
}

.responded {
    color:green;
}
.checking,.unchecked {
    color:#FF8C00;
}
.timeout {
    color:red;
}

label.info {
	background: #bdcad5;
    font-size: 0.85rem;
    border-radius: 3px;
    padding: 0px 5px 0px 5px;
    margin: 5px 0px 2px 0px;
    cursor: pointer;
    font-weight: 700;
    font-family: var(--fontSecondary);
}

label.info.date.ok {
	background: #3f9f3e;
	color: #0a431a;
    user-select: none;
}

label.info.date.ko {
	background: #cf6b6b;
	color: #5b2626;
    user-select: none;
}

label.info.modelo {
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    background: #6f818d;
    color: #dae3e9;
}

div.elements {
	display: flex;
    flex-direction: row;
    align-items: baseline;
    margin: 5px 0px 5px 0px;
}

div.element {
	display:flex;
}

div.elements > div + p {
	margin-left:10px;
}

span.list {
	font-weight: 600;
	line-height: 0px;
	font-family: var(--fontPrimary);
}

article {
    min-width: 75%;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #a0aeb8;
    padding: 20px;
    border-radius: 20px;
    color: #384047;
    border: 0px solid #3f454b;
}

/** Navbar **/

dropdown {
  margin: 0 auto;
}

nav {
  height: 60px;
  background: #4e565d;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  font-family: var(--fontPrimary);
}

.logo {
    padding: 10px 0 0 5px;
    margin: 0px 20px;
    float: left;
    width: 37px;
    height: auto;
}

nav ul {
    padding: 0;
    margin: 0;
    float: left;
}

nav ul li {
	background: #4a5259;
	position: relative;
	list-style: none;
	display: inline-block;
    z-index: 1;
}

nav ul li a {
  display: block;
  padding: 0 15px;
  color: #fff;
  text-decoration: none;
  line-height: 60px;
  font-size: 20px;
}

nav ul li a:hover {
	background: #93a8b9;
}

nav ul ul {
  position: absolute;
  top: 60px;
  display: none;
}

nav ul li:hover > ul {
  display: block;
}

nav ul ul li {
  width: 175px;
  float: none;
  display: list-item;
  position: relative;
}

nav ul ul ul li {
  position: relative;
  top: -60px;
  left: 150px;
}

.fas {
  color: #fff;
}


/** Login **/


body.login-form {
    background-color: #c4ccd1;
    min-height: 100vh;

    /* Flex */
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background-color: var(--color3);
    width: 700px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;

    /* Flex */
    display: flex;
}

.container__svgs {
    background-color: var(--color2);
    width: 50%;

    /* Flex */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container__svg1 {
    width: 200px;
    height: 200px;
    margin-bottom: 10px;
}

.container__svg2 {
    width: 170px;
    height: 18px;
}

.container__content {
    width: 50%;
    position: relative;

    /* Flex */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container__form {
    margin-bottom: 20px;
    
    /* Flex */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container__inputField {
    background-color: transparent;
    width: 220px;
    padding: 0 0 10px 5px;
    font-size: 15px;
    letter-spacing: 1px;

    /* Border */
    border: none;
    border-bottom: solid 1px var(--color2);
    border-radius: 0;
}

.container__inputField:first-of-type {
    margin-bottom: 30px;
}


.container__inputField:nth-of-type(2) {
    margin-bottom: 30px;
}

.container__inputField:focus-visible {
    border-bottom: solid 1px #94abb9;
    outline: none;
}

.container__sumbitButton {
    background-color: var(--color2);
    color: var(--color3);
    width: 220px;
    padding: 15px 0;
    font-size: 14px;
    cursor: pointer;

    /* Text */
    text-transform: uppercase;
    letter-spacing: 1px;

    /* Border */
    border: none;
    border-radius: 50px;
}

.container__sumbitButton:hover {
    background-color: var(--color2Hover);
}

.container__links {
    /* Position */
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);

    /* Flex */
    display: flex;
    align-items: center;
    justify-content: center;
}

.container__link {
    color: var(--color2);
    font-size: 12px;
    text-decoration: none;
}

.container__link:hover {
    text-decoration: underline;
}

.error {
	background: rgb(255 219 219) 100%;
	background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgb(255 219 219) 100%);
    border-bottom: 1px solid #834242;
}

.error:focus-visible {
	border-bottom: 1px solid #834242;
}

.error::placeholder {
	color: #834242;
}

div.error {
	display: none!important;
}

.alert {
    background: #ed9a9a;
    border: 2px solid #b56f6f;
    color: #6f3434;
    border-radius: 10px;
    padding: 6px;
    margin: 37px 0px;
    font-size: 13px;
    font-family: var(--fontPrimary);
    font-weight: 600;
}

.container__separator {
    background-color: var(--color2);
    width: 1px;
    height: 10px;
    margin: 0 15px;
}

@media screen and (max-width: 600px) {
  table.sortable {
    border: 0;
  }

  table caption {
    font-size: 1.3em;
  }
  
  table.sortable thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table.sortable tr {
    border-bottom: 1px solid #7c8b95;
    display: block;
  }
  
  table.sortable td {
    display: block;
    font-size: .8em;
    text-align: right;
  }
  
  table.sortable td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  table.sortable td:last-child {
    border-bottom: 0;
  }
}

/* Modal Window */
.modal {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: left;
  background: rgb(101 101 101 / 49%);
  transition: opacity .25s ease;
}

.modal__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  cursor: pointer;
}

.modal-state {
  display: none;
}

.modal-state:checked + .modal {
  opacity: 1;
  visibility: visible;
}

.modal-state:checked + .modal .modal__inner {
  top: 0;
}

.modal__inner {
    transition: top .25s ease;
    position: absolute;
    top: -20%;
    right: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    margin: auto;
    overflow: auto;
    background: #000;
    border-radius: 20px;
    padding: 1em 2em;
    height: 16%;
}

.modal__close {
  position: absolute;
  right: 1em;
  top: 1em;
  width: 1.1em;
  height: 1.1em;
  cursor: pointer;
}

.modal__close:after,
.modal__close:before {
  content: '';
  position: absolute;
  width: 2px;
  height: 1.5em;
  background: #ccc;
  display: block;
  transform: rotate(45deg);
  left: 50%;
  margin: -3px 0 0 -1px;
  top: 0;
}

.modal__close:hover:after,
.modal__close:hover:before {
  background: #aaa;
}

.modal__close:before {
  transform: rotate(-45deg);
}

@media screen and (max-width: 768px) {
    
  .modal__inner {
    width: 90%;
    height: 90%;
    box-sizing: border-box;
  }
}
