#inloggning {
	width: 100vw;
    height: 100vh;
    display: flex;
    vertical-align: middle;
	background: rgb(35,35,37);
}

#inloggning > main {
	display: flex;
	align-items: center;
    align-content: center;
    width: 100vw;
}

#inloggning > main > section {
    display: flex;
    flex-direction: column;
    margin: auto;
    justify-content: center;
    align-items: center;
	padding: 1em;
    background: rgb(60,65,71);
    border-radius: 0.5em;
	box-shadow: 6px 6px 0 3px rgb(27 27 28);
}

#inloggning section > h2 {
	display: inline-flex;
	color: rgb(240,240,240);
	margin-bottom: 0.5em;
}

#inloggning form {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#inloggning form > input {
	display: block;
	background: rgb(39 47 57);
    color: rgb(199 223 241);
	border-radius: 0.5em;
}

#inloggning form > input[type=text],
#inloggning form > input[type=password] {
	padding: 1em;
	margin-bottom: 1em;
	box-shadow: inset 4px 4px 0 rgb(30 36 43);
}

#inloggning form > input[type=text] {
	
}

#inloggning form > input[type=password] {
	
}

#inloggning form > input[type=submit] {
	padding: 0.5em 1em;
	box-shadow: 2px 2px 0 rgb(30 36 43);
}

#inloggning form > input[type=submit]:hover {
	background: rgb(27 53 75);
}

#inloggning form > input[type=submit]:active {
	background: rgb(27 53 75);
	box-shadow: inset 4px 4px 0 rgb(30 36 43);
}

#dashboard {
	width: fit-content;
	margin: 0 auto;
}

#dashboard header {
	display: flex;
	width: 100%;
    justify-content: center;
	background: rgb(220,230,250);
}

#dashboard header > nav {
}

#dashboard header > nav > ul {
	display: flex;
	justify-content: center;
	flex-direction: row;
}

#dashboard header > nav > ul > li {
	display: inline-flex;
	padding: 1em 2em;
}

#dashboard footer {
	display: flex;
	justify-content: center;
	flex-direction: row;
	padding-top: 5em;
}

#dashboard footer > a {
	
}

#dashboard .freezer-table {
	display: flex;
	justify-content: center;
}

#dashboard .table {
	display: flex;
    flex-direction: column;
}

#dashboard .row {
	display: flex;
	border-bottom: 1px solid #999;
	flex-direction: row;
    flex-wrap: nowrap;
	align-items: stretch;
}

#dashboard .row.header {
	font-weight: bold;
}

#dashboard .row.slut {
	color: #666;
	background: #eee;
}

#dashboard .column {
	display: inline-block;
	padding: 0.5em 0.25em;
	border-right: 1px solid #eee;
}

#dashboard .column.id {
	width: 2em;
}

#dashboard .column.typ {
	width: 6em;
}

#dashboard .column.brand {
	width: 8em;
}

#dashboard .column.produkt {
	width: 12em;
}

#dashboard .column.paket {
	width: 5em;
	text-align: center;
	display: flex;
    justify-content: space-evenly;
	align-items: center;
}

#dashboard .column.paket .add,
#dashboard .column.paket .subtract {
	display: none;
}

#dashboard .column.vikt {
	width: 8em;
}

#dashboard .column.enhet {
	width: 4em;
}

#dashboard .column.stycken {
	width: 9em;
	text-align: center;
}

#dashboard .column.open {
	width: 4em;
}

#dashboard .column.frys {
	width: 6em;
}

#dashboard .column.bestbefore {
	width: 7em;
}

#dashboard .column.frysdatum {
	width: 7em;
}

#dashboard .column.rating {
	width: 5em;
	border: 0;
}

#dashboard .column.edit {
	width: 6em;
	border: 0;
	background: none;
	text-align: center;
}
#dashboard .column.edit > i.fa-edit {
	opacity: 50%;
}
#dashboard .column.edit > i:hover {
	cursor: pointer;
}
#dashboard .column.edit:hover > i.fa-edit, #dashboard .row.header .column.edit {
	opacity: 100%;
}

/* Lägenhetsuträknare */

#dashboard #apartment h2 {
	text-align: center;
}

#apartment {
	padding: 1em;
}

#apartment .toggler input[type=checkbox]{
	height: 0;
	width: 0;
	visibility: hidden;
}

#apartment .toggler label {
	cursor: pointer;
	text-indent: -9999px;
	width: 40px;
	height: 20px;
	background: grey;
	display: block;
	border-radius: 20px;
	position: relative;
}

#apartment .toggler label:after {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 16px;
	height: 16px;
	background: #fff;
	border-radius: 16px;
	transition: 0.3s;
}

#apartment .toggler input:checked + label {
	background: #bada55;
}

#apartment .toggler input:checked + label:after {
	left: calc(100% - 2px);
	transform: translateX(-100%);
}

#apartment .toggler label:active:after {
	width: 16px;
}

#apartment .formRow,
#apartment .formTotal {
	display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: nowrap;
	padding: 1em;
	border-bottom: 1px solid #eaeaea;
}

#apartment .formRow:last-child,
#apartment .formTotal:last-child {
	border-bottom: 0;
}

#apartment .optionLabel {
	width: 70%;
}

#apartment .optionLabel.radio,
#apartment .totalLabel {
	width: 85%;
}

#apartment .radio label {
	padding-left: 0.5em;
}

#apartment .radio fieldset {
	border-radius: 0.5em;
	border: 1px solid rgba(0,0,0,0.15);
}

#apartment .inputWrap {
	width: 15%;
	min-width: 6em;
	display: flex;
    justify-content: flex-end;
}

#apartment input[type=number] {
	background: rgba(0,0,0,0.05);
	padding: 0.5em;
	border-radius: 0.5em;
	width: 5em;
	text-align: center;
}

#apartment #sqmCostLabel {
	width: 70%;
}

#apartment #sqmCost {
	width: 15%;
	min-width: 6em;
	display: flex;
    justify-content: flex-end;
}

#apartment .formRow .rowPoints,
#apartment .formTotal .totalPoints {
	width: 15%;
	min-width: 6em;
	display: flex;
	justify-content: flex-end;
}

#apartment .rowPoints .good,
#apartment .totalPoints .good {
	color: green;
}

#apartment .rowPoints .bad,
#apartment .totalPoints .bad {
	color: red;
}