﻿@font-face {
	font-family: Abel;
	src: url('/Abel-Regular.ttf');
}

html,
body {
	margin: 0;
	height: 100%;
}

body {
	display: flex;
	flex-direction: column;
	font-size: 12px;
	font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, "Roboto",
		"Helvetica Neue", sans-serif;
	color: #ff0000;
	background-color: #ffffff;
	text-align: center;
}

form {
	display: flex;
	height: 100%;
	margin: 0;
}

img {
	border: none;
}

h1 {
	font-size: 28px;
	font-weight: bold;
	color: #000000;
}

h2 {
	font-size: 24px;
	font-weight: bold;
	color: #000000;
}

h3 {
	font-size: 20px;
	font-weight: bold;
	color: #000000;
}

.link_no_line {
	text-decoration: none;
	border: none;
	color: #000000;
}

.dbview {
	border-collapse: collapse;
}

.dbview > .dbviewcell:nth-child(1) > a:after {
  width:32px;
  height:32px;
  background-image: url('edit-solid.svg');
}

.dbviewcell {
	border-collapse: collapse;
	padding: 2px 5px 2px 5px;
}

.dbviewcell:nth-child(1):after {
	width: 32px;
	height: 32px;
	background-color: red;
}

.link_no_line:hover {
	text-decoration: none;
	border-bottom: 1px solid #000000;
}

.total_page {
	text-align: left;
	height: 100%;
	width: 100%;
}

.mainpage {
	height: 100%;
	width: 100%;
	border-collapse: collapse;
}

.mainpage > tbody > tr:first-child {
  position: fixed;
  top: 0;
  height:70px;
  left: 0;
	right: 0;
	z-index: 10;
}

.mainpage > tbody {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.mainpage > tbody > tr:nth-child(3) {
	flex: 1;
}

.mainpage > tbody > tr {
	display: flex;
	flex-direction: row;
}

.top_logo {
	padding: 10px;
	background-color: #b5121b;
	vertical-align: center;
	text-align: center;
}

.top_links {
	display: flex;
	align-items: center;
	padding-left: 10px;
	flex-grow: 1;
	font-family: Abel;
	background-color: #b5121b;
	border-spacing: 0px;
	font-size: 24px;
	color: #ffffff;
}

.top_links > a {
	color: white;
}

.filler_left {
	height: 0;
	display: none;
	padding: 0px;
	border-spacing: 0px;
}

.filler_right {
	height: 0;
	display: none;
	padding: 0px;
	border-spacing: 0px;
}

.menu {
	position:fixed;
	top:70px;
	bottom:0;
	width: 292px;
	background-color: #f2f3f4;
	font-family: Abel;
	vertical-align: top;
	padding-left: 16px;
	padding-top: 20px;
	border-spacing: 0px;
	font-weight: 400;
	font-size: 16px;
	overflow-y: auto;
}

.text,
td {
	font-size: 12px;
	color: #000000;
}

.text {
	display: flex;
}

.text > tbody {
	display: flex;
	flex: 1;
	flex-direction: column;
	max-width: 350px;
}

.text > tbody > tr {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 0px;
}

.text > tbody > tr:not(:last-child) > td:first-child {
	font-weight: bold;
	font-size: 14px;
}

.tblSimple {
	border: none;
	border-collapse: collapse;
}

div.menu_item {
	display: flex;
	flex-direction: column;
	font-size: 18px;
	color: #07264e;
	text-decoration: none;
}

/*div.menu_item > br {
  display: none;
}*/

.menu_item > ul {
	list-style-type: none;
}

.menu_item > ul > li {
	margin-bottom: 4px;
	padding-top: 0px;
	font-size:18px;
	vertical-align: top;
}

a.menu_item {
	color: #07264e;
	padding: 0px;
	text-decoration: none;
}

.menu > .menu_item > img {
  width: 16px;
  height: 16px;
}

.main_content {
	display: flex;
	flex-direction: column;
	flex: 1;
	background-color: #ffffff;
	color: #000000;
	vertical-align: top;
	padding: 10px 5%;
	padding-top:70px;
	margin-left:292px;
	font-size: 12px;
	overflow-y: auto;
}

table.tblSimple, .main_content > table {
	display: flex;
	
}

.main_content > table > tbody > tr > td{
	padding: 4px;
}

.dbview > tbody > tr > td, table.tblSimple > tbody > tr > td  {
	padding: 8px;
}

table.tblSimple {
	display: flex;
}

table.dbview > tbody > tr{
	color: black;
}

table.dbview > tbody > tr:first-child {
	background: #b5121b;
}

.dbview > tbody > tr:first-child > td > a, .dbview > tbody > tr:first-child > td > b {
	font-weight: bold;
	color: white;
	text-decoration-line: none;
	font-weight: bold;
}

table.dbview {
	box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02);
}

table.dbview > tbody > tr:nth-child(2n){
	background-color: #e0e0e0;
}

.footer {
	width: 1218px;
	height: 20px;
	border: 0px;
}

.footer_content {
	font-size: 10px;
	text-align: right;
	vertical-align: top;
	background-color: #ffffff;
	color: #c0c0c0;
}

.footer_link {
	text-decoration: none;
	border: none;
	color: #c0c0c0;
}

.footer_link:hover {
	text-decoration: none;
	border-bottom: 1px solid #c0c0c0;
}

.logg {
	background-color: #ffffff;
}

.logg_skuggad {
	background-color: #969696;
}

input[type="text"], input[type="password"],
textarea {
	box-shadow: none;
	border: 2px solid rgb(222, 226, 229);
	border-radius: .4em;
	padding: 4px;
	font-size: 14px;
	transition: 0.2s all ease;
	min-height: 2.5em;
	width: 100%;
	max-width: 250px;
}

p > a,
input[type="submit"], input[type="button"] {
  transition: 0.2s all ease;
	display: inline-block;
	font-size: 13px;
	color: white;
	padding: 10px; 
	text-decoration: none;
	margin: 2px;
	border-radius: 4px;
	border: 2px solid rgba(0, 0, 0, .75);
	background-color: transparent;
	color: #000;
	font-family: Abel;
	text-transform: uppercase;
	cursor: pointer;
} 

p > a:hover,
input[type="submit"]:hover {
	background-color: #07264E;
    border-color: #07264E;
    color: #ffffff;
    box-shadow: 0 0 0 2px rgba(52,152,219,.25);
}

@media only print {
    body { visibility: hidden; }
    .main_content { visibility: visible;

	display: block;
	flex-direction: row;
	flex: 1;
	background-color: #ffffff;
	color: #000000;
	vertical-align: top;
	padding: 10px 5%;
	padding-top:0px;
	margin-left: 0px;
	font-size: 12px;
	overflow-y: auto;


    position: absolute;
    left: 0;
    top: 0; }
  }