/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  font-family: "Raleway";
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

a {
  text-decoration: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input[type=text],
input[type=email],
textarea {
  outline: none;
  border: none;
  background-image: none;
  background-color: transparent;
  box-shadow: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
}

button {
  width: 100%;
  margin: 20px auto;
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 1px;
}

hr {
  border-top: 1px solid #ccc;
  display: block;
  width: 100%;
  margin: 40px 0;
}

.u-w-200 {
  max-width: 200px;
}

.c-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 40px;
}
.c-grid .form-group + .form-group {
  margin-top: 0 !important;
}
@media (max-width: 960px) {
  .c-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.s-form {
  width: 100vw;
  min-height: calc(100vh - 120px);
  padding-top: 120px;
  background-color: #f1f1f1;
}
.s-form .c-form {
  border: 1px solid #f1f1f1;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 70vw;
  background-color: #FFF;
  margin: 40px auto;
}
.s-form .c-form h2 {
  font-size: 20px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 40px;
}
.s-form .c-form-subtitle {
  margin: 40px 0 0;
  text-decoration: underline;
}
.s-form .c-form img {
  display: block;
  margin: 20px auto;
  width: 120px;
}
.s-form .c-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}
.s-form .c-form input,
.s-form .c-form select {
  border: 1px solid #ccc;
  padding: 10px;
  box-sizing: border-box;
  font-size: 18px;
  border-radius: 8px;
  width: 100%;
}
.s-form .c-form span {
  display: block;
  margin-top: 10px;
}
.s-form .c-form .form-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  grid-gap: 20px;
}
.s-form .c-form .form-group + .form-group {
  margin-top: 20px;
}
.s-form .c-form .has-error input,
.s-form .c-form .has-error select {
  border: 1px solid red;
}
.s-form .c-form .help-block {
  color: red;
  font-size: 14px;
}
.s-form .c-form .c-radio {
  display: inline-flex;
  align-items: center;
}
.s-form .c-form .c-radio + .c-radio {
  margin-left: 20px;
}
.s-form .c-form .c-checkbox {
  display: inline-flex;
  align-items: center;
  font-weight: normal;
  white-space: nowrap;
  margin-left: 20px;
}

.c-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fdcf00;
  height: 68px;
  padding: 0 40px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.c-navbar-logo {
  background-color: #FFF;
  padding: 7px;
  box-shadow: 0px 7px 10px -5px rgba(0, 0, 0, 0.2);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-navbar-logo img {
  height: 60px;
}
.c-navbar-links a {
  color: #66676b;
  font-weight: bold;
  position: relative;
}
.c-navbar-links a + a {
  margin-left: 40px;
}
.c-navbar-links a + a:before {
  content: "|";
  position: absolute;
  left: -25px;
}
.c-navbar-button {
  background-color: #FFF;
  padding: 10px 20px;
  letter-spacing: 1px;
  margin-left: 20px;
}

.s-auth {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f1f1f1;
}
.s-auth .form-signin {
  border: 1px solid #f1f1f1;
  border-radius: 8px;
  padding: 40px;
  box-sizing: border-box;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5);
  min-width: 400px;
  background-color: #FFF;
}
.s-auth .form-signin img {
  display: block;
  margin: 20px auto 40px;
  width: 120px;
}
.s-auth .form-signin label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: #666;
  text-align: center;
}
.s-auth .form-signin input {
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 18px;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}
.s-auth .form-signin .form-group + .form-group {
  margin-top: 20px;
}
.s-auth .form-signin .has-error input {
  border: 1px solid red;
}
.s-auth .form-signin .help-block {
  color: red;
  font-size: 14px;
}

.c-button--primary {
  background-color: #66676b;
  color: #FFF;
}
.c-button--primary:hover {
  background-color: rgb(102, 103, 107);
  cursor: pointer;
}

.c-button--secondary {
  background-color: #fdcf00;
  padding: 10px 15px;
  font-weight: bold;
  color: #000;
}
.c-button--secondary:hover {
  background-color: rgb(102, 103, 107);
  cursor: pointer;
  color: #FFF;
}

.c-button--cancel {
  border: 1px solid #66676b;
  height: 48px;
  padding: 10px 15px;
  font-weight: bold;
}
.c-button--cancel:hover {
  background-color: rgb(102, 103, 107);
  cursor: pointer;
  color: #FFF;
}

.fa-pencil {
  background-color: #fdcf00;
  color: #000;
  padding: 10px;
}

.fa-trash {
  background-color: red;
  color: #FFF;
  padding: 10px;
}

.c-table {
  width: calc(100vw - 80px);
  margin: 0 40px 100px;
  box-sizing: border-box;
  border-collapse: collapse;
  color: #66676b;
  font-size: 0.875rem;
}
.c-table td, .c-table th {
  border: 2px solid #66676b;
  padding: 4px;
}
.c-table th {
  padding: 5px 0;
  color: #66676b;
  font-weight: bold;
}
.c-table-gray {
  background-color: #ccc;
  color: #FFF !important;
}
.c-table-darkgray {
  background-color: #aaa;
  color: #FFF !important;
}

.c-card {
  border: 1px solid #ccc;
  width: calc(100vw - 80px);
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  margin: 100px 40px 40px;
  box-sizing: border-box;
  box-shadow: 0px 7px 10px -5px rgba(0, 0, 0, 0.2);
}
