/*RESET*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
form{
  display: inherit!important;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
/*RESET*/


body {
}

* {
  /* box-sizing: border-box; */
}

h1,h2,h3,h4,h5{
  font-weight: 200!important;

}

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

input[type=password]  {
  width: 80%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  float: left;
}

input[type=checkbox] {
  padding: 12px;
}

.unwritable_input{
	background-color: #f8f8f9!important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
/* input[type=number] {
  -moz-appearance: textfield;
} */

label {
  /* padding: 12px 12px 12px 0; */
  /* display: inline-block; */
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: 0px solid #ddd;
}

th, td {
  text-align: center;
  padding: 16px;
}

tr:nth-child(even) {
  /* background-color: #8888aa; */
}

span.error {
    color: red;
  	text-align: center;
    width: 100% !important;
}

span.message {
    color: black;
  	text-align: center;
    width: 100% !important;
}
span.message_black {
    color: black;
  	text-align: center;
    width: 100% !important;
}
input[type=submit] {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  /* float: right; */
}

input[type=submit]:hover {
  background-color: #45a049;
}

input[type=button] {
  background-color: red;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: left;

}

.reset {
  background-color: black  !important ;
  margin:10px;
  /* margin-left: 10px; */

}

.log {
  background-color: orange  !important ;
  margin-left: 10px;

}

.onButton {
  background-color: green !important;
  color: white  !important;
  padding: 12px 20px  !important;
  border: none  !important;
  border-radius: 4px  !important;
  cursor: pointer  !important;
  float: none !important;
  vertical-align:middle;

}

.container {
  border-radius: 5px;
  /* background-color: #f2f2f2; */
  padding: 20px;
    color: black;

}
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.col-25 {
  display: table-cell;
  vertical-align: middle;
  float: left;
  width: 25%;
  margin-top: 6px;
}

.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

.col-75-left {
  display: table-cell;
  vertical-align: middle;
  float: left;
  margin-top: 6px;
  display: inline-block;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.logo {
  background-color: #333;
  color: white;
  float: left;
  border: none;
  outline: none;
  padding: 0px 0px;
  font-size: 17px;
   width: 20%;

}

.responsive {
  height: 100%;
  max-height: 40px;
  height: auto;
}

.tablink {
  background-color: #333;
  color: white;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 17px;
  width: 17%;
}

.logout {
  background-color: #933;
  color: white;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 17px;
  width: 12%;
}

.tablink:hover {
  background-color: #777;
}

/* Style the tab content */
.tabcontent {
  /* color: white; */
  display: none;
  /* padding: 10px;
  text-align: center; */
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

.console {
	overflow-y: scroll;
	height:250px;
	text-align:left;
	resize:vertical;
}
/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .col-25, .col-75, .col-75-left, input[type=submit], input[type=button] {
    width: 100%;
    margin-top: 0;
  }
  .logo {
  font-size: 10px;
  }
  .tablink, .logout {
    font-size: 14px;
    padding: 0px 0px;
  }
}

/* #Home {background-color:black;} */
#WiFi {background-color:red;}
#Ocpp {background-color:green;}
#Mqtt {background-color:green;}
/* #Device {background-color:blue;} */
#Security {background-color:orange;}

/* Downloads page cards style*/
.ui.cards > .card > .image, .ui.card > .image{
	background-color:white!important;
	padding: 2em!important;
}

.ui.cards > .card > .content, .ui.card > .content{
		background: rgba(0, 0, 0, 0.05)!important;
}
