* {
  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;
}

body {
  color: #555555;
  background-color: #eceff3;
}

h1, h2, h3, h4, h5 {
  color: #696b6e;
}

.login {
  background-color: #eceff3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login form {
  display: flex;
  box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.02);
  flex-basis: 100%;
  flex-flow: column;
  background-color: #fff;
  max-width: 400px;
  padding: 25px;
  margin-top: 100px;
  border-radius: 4px;
}

.login form h1 {
  margin: 0;
  padding: 10px;
  text-align: center;
}

header {
  display: flex;
  flex-basis: 100%;
  max-width: 1000px;
  margin: 0 auto;
  height: 70px;
  align-items: center;
}

header h1 {
  flex: 1;
  font-size: 24px;
}

header a {
  text-decoration: none;
  font-weight: 500;
  color: #8994a3;
}

main {
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 20px auto;
  box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.02);
  background-color: #fff;
  padding: 25px;
}

main .page-title {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  padding: 10px 0 20px 0;
}

main nav {
  width: 200px;
  border-right: 1px solid #edeff1;
}

main nav a {
  display: block;
  text-decoration: none;
  padding: 15px 0;
  border-bottom: 1px solid #edeff1;
  font-size: 14px;
  font-weight: 500;
  color: #a9abad;
  margin-right: 10px;
}

main nav a:last-child {
  border-bottom: 0;
}

main nav a:hover, main nav a.selected {
  color: #696b6e;
}

main .content {
  display: flex;
  flex: 1;
  width: auto;
  padding: 0 25px 30px 25px;
  flex-flow: column;
}

main .content .stats {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  height: 80px;
  border-bottom: 1px solid #dfe2e6;
}

main .content .stats .stat {
  display: flex;
  flex-flow: column;
  align-items: center;
  width: 25%;
  margin-bottom: 10px;
  border-right: 1px solid #dfe2e6;
}

main .content .stats .stat:last-child {
  border-right: 0;
}

main .content .stats .stat h2 {
  color: #9c9ea1;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  padding: 7px 0;
}

main .content .stats .stat span {
  font-size: 20px;
}

main .content .stats .stat span.active {
  color: #00b100;
}

main .content .stats .stat span.inactive {
  color: #e60000;
}

main .content .stats .stat span.pending {
  color: #e66800;
}

main .content table {
  border-collapse: collapse;
  width: 100%;
}

main .content table thead tr td {
  background-color: #edeff1;
  color: #828488;
  font-size: 14px;
  font-weight: 500;
  padding: 10px;
  border: 1px solid #dfe2e6;
}

main .content table tbody tr td {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #dfe2e6;
}

main .content table tbody tr td.paid {
  font-size: 14px;
  font-weight: 500;
  color: #00b100;
}

main .content table tbody tr td.canceled {
  font-size: 14px;
  font-weight: 500;
  color: #e60000;
}

main .content table tbody tr td.pending {
  font-size: 14px;
  font-weight: 500;
  color: #f36d00;
}

main .content table tbody tr td:first-child {
  width: 120px;
}

main .content table tbody tr td a {
  display: inline-block;
  width: auto;
  text-decoration: none;
  color: #0060ba;
  border-bottom: 1px dotted;
  margin-bottom: 5px;
  font-size: inherit;
}

main .content table tbody tr td a:hover {
  color: #003260;
}

form label {
  display: inline-flex;
  width: 100%;
  padding: 10px 0;
}

form label span {
  color: #da0000;
  padding-right: 5px;
}

form select, form input, form textarea {
  padding: 10px;
  width: 100%;
  border-radius: 4px;
  margin-bottom: 10px;
  outline: 0;
  border: 1px solid #dfe2e6;
}

form select:focus, form input:focus, form textarea:focus {
  border: 1px solid #b4bbc4;
}

form select::placeholder, form input::placeholder, form textarea::placeholder {
  color: #8994a3;
}

form .links {
  padding: 10px 0 20px 0;
}

form .links a {
  display: inline-block;
  width: auto;
  text-decoration: none;
  color: #0060ba;
  border-bottom: 1px dotted;
  margin-bottom: 5px;
}

form .links a:hover {
  color: #003260;
}

form .custom-txt {
  margin: 0;
  padding: 15px 0;
  font-size: 14px;
}

form .msg {
  margin: 0;
  padding-top: 20px;
}

form.commissions-form {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 15px;
}

form.commissions-form select {
  width: 150px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  background-color: #36b314;
  border: 0;
  font-weight: 500;
  text-align: center;
  font-size: 14px;
  color: #FFFFFF;
  cursor: pointer;
  border-radius: 4px;
  padding: 10px 15px;
  box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.15);
}

.btn:hover {
  background-color: #a63939;
}

.btn:disabled {
  background-color: #b6acac;
}

.btn.alt {
  background-color: #383838;
}

.btn.alt:hover {
  background-color: #2b2b2b;
}

.btn.alt:disabled {
  background-color: #b9b9b9;
}
