body {
	font-family: Arial, sans-serif;
	font-size: 80%;
	margin: 0;
}

header {
	background-color: #333;
	color: #fff;
	display: flex;
	justify-content: space-between;
	padding: 1em;
}


header nav ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

header nav a {
	color: #fff;
	display: block;
	padding: 1em;
	text-decoration: none;
}

main {
	padding: 0em;
}

main h1,
main h2 {
	/*text-align: center;*/
}

section {
	margin-bottom: 2em;
}

footer {
	background-color: #333;
	color: #fff;
	padding: 1em;
	text-align: center;
}

form {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-top: 2em;
	text-align: left;
}


.autocomplete {
	padding: 0.2em;
	width: 80%;
	display: inline-block;
	font-size: 16px;
}

.specs {
	display: inline;
}

.suggestions {
	background-color: #fff;
	border: 1px solid #ccc;
	list-style: none;
	margin: 0;
	padding: 4px;
	position: absolute;
	z-index: 1;
	width: 90%;
	text-align: left;

}

.suggestions li {
	cursor: pointer;
	padding: 0.5em;
}


table a:link {
	color: #666;
	font-weight: bold;
	text-decoration: none;
}

table a:visited {
	color: #999999;
	font-weight: bold;
	text-decoration: none;
}

table a:active,
table a:hover {
	color: #bd5a35;
	text-decoration: underline;
}

table {
	color: #666;
	font-size: 12px;
	text-shadow: 1px 1px 0px #fff;
	background: #eaebec;
	border: #ccc 1px solid;

	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;

	-moz-box-shadow: 0 1px 2px #d1d1d1;
	-webkit-box-shadow: 0 1px 2px #d1d1d1;
	box-shadow: 0 1px 2px #d1d1d1;
}

table th {
	padding: 11px 15px 12px 15px;
	border-top: 1px solid #fafafa;
	border-bottom: 1px solid #e0e0e0;

	background: #F9FAFB;
	background: -webkit-gradient(linear, left top, left bottom, from(#F9FAFB), to(#E2E8F0));
	background: -moz-linear-gradient(top, #F9FAFB, #E2E8F0);
}

table th:first-child {
	text-align: left;
	padding-left: 20px;
}

table tr:first-child th:first-child {
	-moz-border-radius-topleft: 3px;
	-webkit-border-top-left-radius: 3px;
	border-top-left-radius: 3px;
}

table tr:first-child th:last-child {
	-moz-border-radius-topright: 3px;
	-webkit-border-top-right-radius: 3px;
	border-top-right-radius: 3px;
}

table tr {
	text-align: center;
	padding-left: 20px;
}

table td:first-child {
	text-align: left;
	padding-left: 20px;
	border-left: 0;
}

table td {
	padding: 10px;
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #e0e0e0;
	border-left: 1px solid #e0e0e0;

	background: #fafafa;
	background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa));
	background: -moz-linear-gradient(top, #fbfbfb, #fafafa);
}

table tr:nth-child(2n) td {
	background: #E2E8F0;
	background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f6f6f6));
	background: -moz-linear-gradient(top, #f8f8f8, #f6f6f6);
}

table tr:last-child td {
	border-bottom: 0;
}

table tr:last-child td:first-child {
	-moz-border-radius-bottomleft: 3px;
	-webkit-border-bottom-left-radius: 3px;
	border-bottom-left-radius: 3px;
}

table tr:last-child td:last-child {
	-moz-border-radius-bottomright: 3px;
	-webkit-border-bottom-right-radius: 3px;
	border-bottom-right-radius: 3px;
}

table tr:hover td {
	background: #E2E8F0;
	background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#f0f0f0));
	background: -moz-linear-gradient(top, #f2f2f2, #f0f0f0);
}
/*style switch*/

.switch {
	position: relative;
	display: inline-block;
	width: 2.5em;
	height: 1.5em;
	font-size: 1em;
	vertical-align: middle;
}

.switch input {
	display: none;
}

.slider {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	border-radius: 1.5em;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 1em;
	width: 1em;
	left: 0.25em;
	bottom: 0.25em;
	background-color: white;
	border-radius: 50%;
	transition: .4s;
}

input:checked+.slider {
	background-color: #2196F3;
}

input:focus+.slider {
	box-shadow: 0 0 0.1em #2196F3;
}

input:checked+.slider:before {
	transform: translateX(1em);
}

/* Optional styles for labeling the switch */
.switch label {
	display: block;
	margin-bottom: 0.25em;
	font-size: 0.75em;
}


@media screen and (max-width: 600px) {
	.devices_table {
		font-size: 70%
	}

	table td {
		padding: 2px;
	}

	table th {
		padding: 1px 5px 2px 5px;
	}

	table tr {
		padding-left: 5px;
	}

	table td:first-child {
		text-align: left;
		padding-left: 5px;
	}

	table th:first-child {
		text-align: left;
		padding-left: 5px;
	}
}

