* {
  	box-sizing: border-box;
  	font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  	font-size: 16px;
  	-webkit-font-smoothing: antialiased;
  	-moz-osx-font-smoothing: grayscale;
	margin: 0;
	padding: 0;
}

html, body {
	width: 100%;
	height: 100%;
  	background-color: #fff;
}

body {
	min-height: 100%;
	background-repeat: no-repeat;
	background-position: bottom;
	display: inline-block;
}

label {
	display:block;
}

input[type=submit] { 
	margin-top:9px; 
	display:block; 
}

h3 {
	font-size: 14px;
	margin-top:9px;
	margin-bottom:3px;
}

.table {
	min-width: 40%;
	margin-top: 9px;
	border-collapse: collapse;
	box-shadow: 0 0 3px 0 rgba(0, 0, 0, 1);
}

.table th {
	padding: 9px;
	background:#435165;
	color:#fff;
}

.table td {
	padding: 3px 9px;
	font-size: 12px;
	width:25%;
	overflow: hidden;
}
.table td > a {
	font-size: 12px;
}

.table tr:nth-child(even) {background: #ccc}
.table tr:nth-child(odd) {background: #b6c8d3}
.table td:nth-child(1) {text-align: left; }
.table td:nth-child(2) {text-align: left; }
.table td:nth-child(3) {text-align: center;}
.table td:nth-child(4) {text-align: right; }
.table td:nth-child(4) > i { cursor: pointer;}

.fa-trash-alt {
	cursor: pointer;
	float: right;
}

.login {
  	width: 400px;
  	background-color: #ffffff;
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin: 100px auto;
}
.login h1 {
  	text-align: center;
  	color: #5b6574;
  	font-size: 24px;
  	padding: 20px 0 20px 0;
  	border-bottom: 1px solid #dee0e4;
}
.login form {
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	padding-top: 20px;
}
.login form label {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 50px;
  	height: 50px;
  	background-color: #3274d6;
  	color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
  	width: 310px;
  	height: 50px;
  	border: 1px solid #dee0e4;
  	margin-bottom: 20px;
  	padding: 0 15px;
}
.login form input[type="submit"] {
  	width: 100%;
  	padding: 15px;
 	margin-top: 20px;
  	background-color: #3274d6;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
	outline: none;
}
.login form input[type="submit"]:hover {
	background-color: #2868c7;
  	transition: background-color 0.2s;
}

.error{
	color: #ff0000 !important;
	text-align: center !important;
	font-size: 0.8em !important;
}

.ok{
	color: #00ff00 !important;
	text-align:center !important;
	font-size: 0.8em !important;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.shake {
  /* Start the shake animation and make the animation last for 0.5 seconds */
  animation: shake 0.5s;

  /* When the animation is finished, start again */
  animation-iteration-count: infinite;
}

.navtop {
	background-color: #2f3947;
	height: 60px;
	width: 100%;
	border: 0;
}
.navtop div {
	display: flex;
	margin: 0 auto;
	width: 70%;
	height: 100%;
}
.navtop div h1, .navtop div a {
	display: inline-flex;
	align-items: center;
}
.navtop div h1 {
	flex: 1;
	font-size: 24px;
	padding: 0;
	margin: 0;
	color: #eaebed;
	font-weight: normal;
}
.navtop div a {
	padding: 0 20px;
	text-decoration: none;
	color: #c1c4c8;
	font-weight: bold;
}
.navtop div a i {
	padding: 2px 8px 0 0;
}
.navtop div a:hover {
	color: #eaebed;
}
body.loggedin {
	background-color: #f3f4f7;
}
.content {
	width: 70%;
	margin: 0 auto;
}
.content h2 {
	margin: 0;
	padding: 25px 0;
	font-size: 22px;
	border-bottom: 1px solid #e0e0e3;
	color: #4a536e;
}
.content > p, .content > div {
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
	padding: 25px;
	background-color: #fff;
}
.content > p table td, .content > div table td {
	padding: 5px;
}
.content > p table td:first-child, .content > div table td:first-child {
	font-weight: bold;
	color: #4a536e;
	padding-right: 15px;
}
.content > div p {
	padding: 5px;
}

#home {
	cursor: pointer;
}

#tenants {
	height: 300px;
	max-height: 300px;
	margin-top: 9px;
	border:1px solid black;
	overflow-y: scroll;
}

#tenants > div, #tenants i {
	font-size: 12px;
	padding: 3px;
}

#tenants div:hover {
	background:#6098b9;
}
