body {
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  background-color: #18191c;
  margin:0;
  padding:0;
}

a {
  color: grey;
  text-decoration: none;
}

h1, h2, h3, h4, h5 , h6 {
  font-weight: 400;
}

h1, {
  border-bottom: 1px solid #bbb;
  padding: 0 0 10px;
}

.maxwidth {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 25px;
}

#content {
  padding: 30px 0;
}

.draft_hint {
  position: fixed;
  opacity: 0.6;
  pointer-events: none;
  margin: 0 0;
  padding: 0;
  left: 20px;
  top: 28px;
}

.cell_flex {
  display: flex;
  justify-content: flex-start;
  text-align: center;
  margin: 2px;
}

.vagashape {
  position: relative;
  box-sizing: border-box;
  color: black;
  border: 1px solid #ccc !important;
	background-color: white;
	border-radius: 4px;
  padding: 0;
  min-width: 32px;
  height: 20px;
  margin-right: 4px;
}

.used_icon {
  user-select: none;
  width: 12px;
  height: 12px;
  position: absolute;
  top: -6px;
  right: -5px;
}

.icon12x12 {
  user-select: none;
  margin: auto 5px auto 0;
  width:12px;
  height:12px;
}

.payer_icon {
  user-select: none;
  margin: auto 5px auto 0;
  width:6.5px;
  height:12px;
}

.vaga_parent {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 980px;
  margin: 0 auto;
}

.vaga_container {
  box-sizing: border-box;
  color: white;
  border: 0;
	background-color: #33363b;
	border-radius: 10px;
  padding: 0;
  width: 420px;
  margin: 10px 20px 30px;
  /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1); */
}

.vaga_inner {
  margin: 14px;
}

.vaga_header {
  display: flex;
  border-bottom: 1.5px solid #2f2f2f;
  padding: 10px;
  margin: 0;
}

.vaga_header h2 {
  color: #67e2fe;
}

.vaga_body {
  color: #fefefe;
  padding: 0 14px 22px;
}

.port_detail {
  box-sizing: border-box;
  color: white;
  border: 0;
	background-color: #33363b;
	border-radius: 10px;
  padding: 0;
  max-width: 480px;
  margin: 10px auto;
}

.header_left {
  width: 40%;
}

.header_right {
  text-align: right;
  margin-top: 5px;
  width: 60%;
}

#bat {
  display: none;
  width: 40px;
  height: 20px;
  padding-top: 6px;
}

#changemode {
  color: white;
  cursor: pointer;
  margin: 0 6px;
}

.invoice_form {
  position: relative;
  color: white;
  border: 0;
	background-color: #aaa;
	border-radius: 10px;
  padding: 10px;
  max-width: 34em;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
  overflow: hidden;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}

.info_field {
  display: block;
  visibility: hidden;
  width: 200px;
  padding: 8px;
  font-weight: 400;
  text-align: center;
  border-radius: 5px;
  margin: 8px auto;
}

.status {
  color: #c7c7c7;
  font-size: 20px;
}

.timer
{
  color: white;
}

.info_field p {
  margin: 0;
}

.info_field h4 {
  margin: 4px;
  font-size: 16px;
  color: #3b81f2;
}

.power {
  color: #cafe7c;
  font-size: 28px;
  line-height: 1.5em;
}

.kwh {
  color: white;
  font-size: 28px;
}

.info_v_i {
  display: flex;
  visibility: hidden;
  width: 160px;
  justify-content: space-around;
  margin-left: auto;
  margin-right: auto;
}

.info_kwh {
  display: flex;
  width: 120px;
  color: white;
  font-size: 28px;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.info_v_i p {
  margin: 0;
}

.button_xg {
  display: block;
  width: 200px;
  padding: 14px;
  font-weight: 400;
  font-size: 20px;
  text-align:center;
  background: #ddd;
  border-radius: 5px;
  margin: 14px auto;
}

.button_md {
  display: block;
  width: 160px;
  padding: 8px;
  font-weight: 400;
  font-size: 16px;
  text-align:center;
  background: #ddd;
  border-radius: 5px;
  margin: 8px 0;
}

.white-on-blue {
  color: white;
  background-color: #1a73e8;
}

.white-on-green {
  color: white;
  background-color: #c5ca26;
}

.red {
  color: white;
  background: #d55;
}

.detail_header {
  display: flex;
}


.centerflex {
  width: 200px;
  margin: 5px auto;
  display: flex;
  justify-content: space-between;

}

.prevent-select {
  -webkit-user-select: none; /* Safari */
  user-select: none; /* Standard syntax */
}


/* /////////////////////////////////////////////////////////////////// drop-down */

.navbar {
  position: relative;
}

#condoname {
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 18px;
  padding: 6px 20px;
  font-weight: 500;
  color: white;
  margin: 0 10px;
}

.navbar a, .navbar p {
  float: left;
  font-size: 16px;
  color: #bbb;
  text-align: center;
  padding: 10px 16px;
  text-decoration: none;
  margin: 0 10px;
}

#dropdown:hover .dropbtn {
  background-color: #c5ca26;
}

.header a.selected {
  color: #ecf22e;
}

.navbar a:hover {
  color: #ecf22e;
}

#dropdown {
  float: right;
}

#dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 10px 16px;
  background-color: inherit;
  margin: 0;
}


.dropdown-content {
  display: none;
  position: absolute;
  right: 0px;
  background-color: #eee;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.8);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  margin: 0;
}

.dropdown-content a:hover {
  background-color: #c5ca26;
  color: white;
}

#dropdown:hover .dropdown-content {
  display: block;
}


/* ====================================================================== Tables  */

.consumo_data {
  font-size: 14px;
  color: #444;
	background-color: #fdfdfd;
  padding: 10px;
  margin: 1em 0.5em;
  border: 0;
}

.consumo_data em {
  font-style: normal;
  font-weight: bold;
}

.log_data {
  font-family: 'Roboto Mono', monospace;
  font-size: 12px;
  color: black;
  border: 0;
	background-color: #ededed;
  padding: 10px;
  margin: 1em 0.5em;
  overflow: auto;
  white-space: nowrap;
}

.log_data p {
  margin: 0;
}

.roundthetable {
  padding: 0;
  margin: 15px 0;
  border-radius: 10px;
  overflow: hidden;
}

table {
  border-collapse: separate;
  table-layout: fixed;
  border-spacing: 0;
  width: 100%;
}

td, th {
  text-align: center;
}

th {
  padding: 6px;
  color: #ecf22e;
}

.section_title {
  text-align: center;
  width: 100%;
  margin: 20px 0;
}

.listtable {
  padding: 5px;
  background: #464951;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
  margin: 0;
}

.listtable td {
  padding: 4px;
}

.bill-table {
  background: #f6f7d4;
  color: #222;
  margin: 0;
}

.bill-table td {
  cursor: pointer;
  padding: 0;
  padding: 4px;
}

.bill-table tbody tr:hover {
  background: #eff390;
  transition: .3s;
}

.units-table {
  background: #f6f7fb;
  color: #0a0a0a;
  margin: 0;
}

.units-table td {
  cursor: pointer;
  padding: 0;
  padding: 4px;
}

.units-table tbody tr:hover {
  background: #dbe1f9;
  transition: .3s;
}

.bill-table th, .units-table th {
  color: #222;
}

.parking_list {
  font-size: 14px;
  color: white;
  max-width: 600px;
  margin: 10px auto;
  background: #777;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}
.parking_list td {
  padding: 2px;
}

.parking_list tr:nth-child(even) {
  background: #888;
}


/* =================================================================== Test page  */
.test_device {
  display: flex;
  color: white;
  font-size: 20px;
}

.test_device .port {
  box-sizing: border-box;
  width: 50px;
  padding: 5px;
  text-align: center;
}

.act {
  cursor: pointer;
}


/* ================================================================== Pagination  */
#pagination_box {
  font-size: 12px;
	padding: 30px 10px 10px;
	margin: 0 20px;
	text-align: center;
}

.pagination {
	display: inline-block;
	margin: auto;
	padding: 0;
	font-size: 14px;
	font-weight: normal;
	text-align: center;
}

.pagination li {
  height: 40px;
  position: relative;
	float: left;
	margin-left: -1px;
	color: #337ab7;
	text-align: center;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid #ddd;
	list-style: outside none none;
	overflow: hidden;
  transition: background-color .3s;
}

.pagination .interval {
	width: 20px;
	padding: 0;
	margin-left: -1px;
	color: #444;
	text-align: center;
	text-decoration: none;
	background-color: inherit;
	border: 0;
}

.pagination span {
  margin: 0;
	width: 30px;
	padding: 11px 5px;
	display: block;
	cursor: pointer;
}

.pagination p {
  height: 16px;
	margin: 0;
}

.pagination .active {
	cursor: context-menu;
	background-color: dodgerblue;
	color: white;
}

.pagination .first {
	border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.pagination .last {
	border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.pagination li:hover:not(.active, .interval) {
	background-color:  #aed6f1;
}




/* ////////////////////////////////////////////////////////////////////// Switch */
.bx_d0 {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 24px;
  margin-top: 24px;
  text-align: center;
  box-sizing: border-box;
}

.bx_d4 {
  display: inline-block;
  height: 34px;
  width: 60px;
  border-radius: 34px;
  cursor: pointer;
  margin: 0 16px;
  position: relative;
  box-shadow: 2px 1px 3px rgba(0, 0, 0, 0.2) inset;
  background-color: #9e1;
  -webkit-transition: .3s;
  transition: .3s;
}

.bx_d4:focus {outline: none}

.bx_d4::before {
  display: inline-block;
  height: 26px;
  width: 26px;
  border-radius: 50%;
  background-color: #fdfdfd;
  content: " ";
  position: absolute;
  right: 4px;
  top: 4px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2);
  -webkit-transition: .3s;
  transition: .3s;
}

.bx_d4.bx_off {
  box-shadow: 2px 1px 3px rgba(0, 0, 0, 0.3) inset;
  background-color: #aaa;
}

.bx_d4.bx_off::before {
  -webkit-transform: translateX(-26px);
  -ms-transform: translateX(-26px);
  transform: translateX(-26px);
}

.bx_d1 > * {
  vertical-align: middle;
}

.bx_d2 {
  color: #3f81d2;
}

.bx_d4 {
  cursor: pointer;
}

/* ////////////////////////////////////////////////////////////////////// Loader */
.loader {
  position: absolute;
  left: 50%;
  margin-top: 90px;
  margin-left: -36px;
  border: 4px solid #6A7076;
  border-radius: 50%;
  border-color: grey transparent grey transparent;
  width: 78px;
  height: 78px;
  animation: spinner 1.8s linear infinite;
}

.loadersm {
  position: absolute;
  left: 50%;
  margin-top: 70px;
  margin-left: -21px;
  border: 4px solid #6A7076;
  border-radius: 50%;
  border-color: grey transparent grey transparent;
  width: 42px;
  height: 42px;
  animation: spinner 1.8s linear infinite;
}

/* ////////////////////////////////////////////////////////////////////// graphs */

.big {
  display: inline-block;
  width: 50px;
  height: 24px;
  border-radius: 4px;
  font-size: 18px;
  margin: 4px;
  padding: 4px;
  text-align: center;
  background-color: #888;
}

.big p {
  display: block;
  margin: 0;
}

.binfo {
  color: grey;
  font-size: 16px;
  width: 80px;
  height: 24px;
  display: inline-block;
  margin: 4px 0;
  padding: 4px 0;
  text-align: center;
}

.binfo p {
  display: block;
  margin: 0;
}

.active_arrow {
  cursor: pointer;
  fill: #48a;
}

.graphsbg {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 16px;
  max-width: 600px;
  background-color: #fdfdfd;
  margin: 10px auto;
  border-radius: 10px;
}

.biggraph {
  width: 100%;
}

.flextop {
  display: flex;
  justify-content: space-between;
}


/* ///////////////////////////////////////////////////////////////////////////////////////  Modal  */

#backscreen {
  position: fixed;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-color: #222;
  opacity: 0;
  transition: .4s ease-out;
  z-index: 950;
}

.modal {
  display: none;
  position: fixed;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: transparent;
  /* background-color: #555;
  background-color: rgba(190,190,190,0.7); */
  z-index: 997;
}

.modal-content {
  display: block;
  position: relative;
  background-color: #fefdff;
  margin: auto;
  padding: 0;
  width: 80%;
  max-width: 500px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  animation-name: animatetop;
  -webkit-animation-fill-mode: both; /* assim modal consegue repetir a animação */
  animation-fill-mode: both;
  -webkit-animation-duration: 0.4s;
  animation-duration: 0.4s
  z-index: 998;
}


@-webkit-keyframes animatetop {
  from {top:-200px; opacity:0}
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-200px; opacity:0}
  to {top:0; opacity:1}
}

.close1, .close2 {
  font-family: sans-serif;
  font-size: 36px;
  font-weight: bold;
  color: white;
  float: right;
  cursor: pointer;
  margin: 10px 5px;
}

.close1:hover, .close2:hover {
  color: #000;
  text-decoration: none;
}

.modal-header {
  background-color: #546a7b;
  color: white;
  padding: 2px 16px;
}

.modal-body {
  color: black;
  padding: 2px 16px;
}

.modal-footer {
  background-color: #546a7b;
  color: white;
  padding: 2px 16px;
}

.modal-thanks {
  display: none;
  padding: 0;
  position: relative;
  background-color: #fefdff;
  margin: auto;
  width: 80%;
  max-width: 500px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  animation-name: animatetop;
  -webkit-animation-fill-mode: both; /*ufa agora modal consegue repetir a animação*/
  animation-fill-mode: both;
  -webkit-animation-duration: 0.4s;
  animation-duration: 0.4s
  z-index: 999;
}

#dummyframe {
  display: none;
  width: 0;
  height: 0;
  border: 0;
}



@keyframes spinner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 750px) {
  .logo {
    display: none;
  }
  .maxwidth {
    padding: 0 10px;
  }
}

@media (max-width: 980px) {
  .vaga_parent {
    max-width: 600px;
    justify-content: space-around
  }
}
