@font-face {
  font-family: 'Helvetica Neue';
  src: url(../fonts/HelveticaNeue-Bold.otf) format("truetype");
  src: url(../fonts/HelveticaNeue-Bold.ttf) format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Helvetica Neue';
  src: url(../fonts/HelveticaNeue-Regular.otf) format("truetype");
  src: url(../fonts/HelveticaNeue-Regular.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Helvetica Neue';
  src: url(../fonts/HelveticaNeue-Light.otf) format("truetype");
  src: url(../fonts/HelveticaNeue-Light.ttf) format("truetype");
  font-weight: 300;
  font-style: normal;
}

body, html {
  height: 100%;
} 

body {
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 400;
  font-size: 100%;
  line-height: 1.2;
}

body #header {
  background-color: #1d1d1b;
  border-bottom: 0.2em solid #51972d;
  height: 4em;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}

body #header .uk-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

body #header .uk-container:before, body #header .uk-container:after {
  display: none;
}

body #header .uk-container a {
  display: inline-block;
  color: #FFFFFF;
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 0.05em;
}

body #header .uk-container a#logo {
  height: 60%;
}


body #header .uk-container a img {
  height: 100%;
}

body #content {
  padding-top: 5em;
  position: relative;
  z-index: 1;
  padding-bottom: 4em;
}

body #content h1 {
  font-size: 3em;
  color: #333333;
  font-weight: 400;
  text-transform: uppercase;
  border-bottom: 4px solid #51972d;
  display: inline-block;
  padding: 0 0.25em 0 0;
}

body #content h1.small {
  font-size: 2em;
  text-transform: none;
}

body #content h1.hl {
  display: inline-block;
  background-color: #51972d;
  padding: 0.1% 1%;
}

body #content.login, body #content.panel {
  min-height: calc(100% - 6em);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(118, 119, 122);
  padding: 5em 0 1em 0;
}

body #content h2 {
  font-size: 0.9em;
  font-weight: 700;
  margin: 1em 0;
}

body #content h2 span {
  font-size: 0.9em;
  text-transform: uppercase;
  font-weight: 300;
  margin: 0;
  border-bottom: 0.1em solid  #51972d;
  display: inline-block;
}

body #content .vertical-divider {
  border-right: 0.2em solid #51972d;
  padding-bottom: 2em;
  padding-right: 2em;
}

@media (max-width: 960px) {
  body #content .vertical-divider {
    border-right: none;
    border-bottom: 0.2em solid #51972d;
    padding-bottom: 2em;
    margin-top: 1em;
    padding-right: 0;
  }
}

body #content #panel {
  width: 30%;
  background-color: #FFFFFF;
  padding: 1em;
  margin: auto;
}

@media (max-width: 1200px) {
  body #content #panel {
    width: 40%;
  }
}

@media (max-width: 960px) {
  body #content #panel, body #content #panel.large{
    width: 50%;
  }
}

@media (max-width: 640px) {
  body #content #panel, body #content #panel.large {
    width: 80%;
  }
}

body #content #panel.large {
  width: 60%;
}

@media (max-width: 1200px) {
  body #content #panel.large {
    width: 80%;
  }
}

body #content #panel h1 {
  font-size: 2em;
  margin: 0 0 0.75em 0;
  display: inline-block;
  padding-right: 0.5em;
  border-bottom: 0.1em solid #51972d;
  line-height: 1;
}

body #content #panel .uk-form .uk-form-controls {
  margin-bottom: 1.6em;
}

body #content #panel .uk-form.condensed .uk-form-controls {
  margin-bottom: 0em;
}

body #content #panel .uk-form label {
  color: #333333;
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.2em;
}

body #content #panel .uk-form label.checkbox {
  font-weight: 400;
  margin-top: 1.8em;
  margin-left: 0.25em;
}

@media (max-width: 640px) {
  body #content #panel .uk-form label.checkbox {
    margin-top: 0.5em;
  }
}

body .uk-radio:checked, .uk-checkbox:checked, .uk-checkbox:indeterminate {
  background-color: #51972d !important;
}

body #content #panel .uk-form input, body #content #panel .uk-form select, body #content #panel .uk-form textarea {
  border: 1px solid #1d1d1b;
  font-size: 16px;
  color: #1d1d1b;
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 400;
}

body #content #panel .uk-form input.uk-form-danger, body #content #panel .uk-form select.uk-form-danger, body #content #panel .uk-form textarea.uk-form-danger {
  border: 1px solid #f0506e;
}

body #content #panel .uk-form label.uk-form-danger {
  color: #f0506e;
}

.form-error {
  font-size: 0.8em;
  font-family: 'Helvetica Neue', sans-serif;
  text-transform: lowercase;
  font-weight: 700;
}


body #content #panel .uk-form button, body #content a.button {
  margin: 0;
  display: block;
  width: 100%;
  background-color: #1d1d1b;
  color: #51972d;
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 700;
  text-transform: none;
}

body #content a.button {
  padding: 0.75em 1em;
  text-align: center;
  border-radius: 0.1em;
  text-transform: lowercase;
  -moz-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  width: auto;
}

body #content a.button.button-green {
  background-color: #51972d;
  color: #1d1d1d;
}

body #content a.button.button-green:hover {
  background-color: #c1d700ac;
}

body #content a.button.button-danger {
  background-color: #f0506e;
  color: #FFFFFF;
}

body #content a.button.button-danger:hover {
  background-color: #fA506e;
}

body #content a.button.small {
  padding: 0.15em 0.5em 0.25em 0.5em;
  width: auto;
  font-weight: 400;
}

body #content a.button:hover {
  text-decoration: none;
  background-color: #3d3d3b;
}

body table tbody tr:hover {
  background-color: rgba(193, 215, 49, 0.5) !important;
}

body #toolbar {
  border-bottom: 0.2em solid #51972d;
  margin-bottom: 0.5em;
}

body #toolbar .block {
  text-align: center;
  padding: 0.5em 0;
  position: relative;
}

body #toolbar .block a {
  color: rgb(118, 119, 122);
  vertical-align: baseline;
  -moz-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

body #toolbar .block a:hover {
  color: #1d1d1d;
  text-decoration: none;
}

body #toolbar .block a span {
  vertical-align: middle;
}

body #toolbar .block .divider {
  position: absolute;
  right: 0;
  bottom: -0.1em;
  top: 0;
  width: 0.2em;
  background-color: #51972d;
}


/* UIKit custom settings */

.uk-notification {
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  text-align: center;
  margin: 0 !important;
}

.uk-notification .uk-notification-message-danger {
  width: 100%;
  background-color: #f0506e;
  color: #FFFFFF;
  font-size: 1em;
  padding: 15px 0;
}

.uk-notification .uk-notification-message-danger a {
  color: #FFFFFF;
}

.uk-notification  .uk-notification-message-success {
  width: 100%;
  background-color: #32d296;
  color: #FFFFFF;
  font-size: 1em;
  padding: 15px 0;
}

.uk-notification  .uk-notification-message-success a {
  color: #FFFFFF;
}

.uk-placeholder {
  border: 1px dashed #1d1d1d !important;
  background-color: rgba(193, 215, 49, 0.2) !important;
}

.photo {
  position: relative;
}
.photo a {
  position: absolute;
  color: #FFFFFF;
  right: 0;
}