﻿html {
  font-size: 14px;
  height: 100%;
}

body {
  padding-top: 50px;
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.428571429;
  height: auto;
  font-family: Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;
  color: #fff;
  background: #E7E9EA !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

footer {
  color: white;
}

button, 
html input[type="button"], 
input[type="reset"], 
input[type="submit"] {
  cursor: pointer;
}

.inline-registration-warning {
  color: #FFE9A9;
}
label {
  display: inline-block;
}

img {
  vertical-align: middle;
}

table {
  max-width: 100%;
  background-color: transparent;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.navbar {
  position: relative;
  max-height: 50px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  background-color: #5782A0;
  border-color: #5782A0;
}

.navbar-fixed-top {
  top: 0;
  z-index: 1030;
  position: fixed;
  right: 0;
  left: 0;
  border-width: 0 0 1px;
}

@media screen (min-width: 768px) {
  .navbar {
     border-radius: 4px;
  }
}

@media (min-width: 768px) {
  .navbar-fixed-top {
    border-radius: 0;
  }
}

@media (min-width: 768px) {
  .header-wrapper {
     float: left;
  }
}

.navbar-content-wrapper {
  display: flex;
}

.space-between {
  justify-content: space-between;
}

.flex-end {
  justify-content: flex-end;
}

#header-content {
    width: 100%;
}

.navbar-right-content-wrapper {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left:auto;
}

.body-content {
  padding: 30px;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.table caption + thead tr:first-child th, 
.table colgroup + thead tr:first-child th, 
.table thead:first-child tr:first-child th, 
.table caption + thead tr:first-child td,
.table colgroup + thead tr:first-child td, 
.table thead:first-child tr:first-child td {
  border-top: 0;
}

.table thead > tr > th, 
.table tbody > tr > th, 
.table tfoot > tr > th, 
.table thead > tr > td,
.table tbody > tr > td, 
.table tfoot > tr > td {
  line-height: 1.428571429;
}

.table thead > tr > th, 
.table tbody > tr > th,
.table tfoot > tr > th, 
.table thead > tr > td,
.table tbody > tr > td, 
.table tfoot > tr > td {
  vertical-align: top;
}

.table > thead > tr > td.active, 
.table > tbody > tr > td.active,
.table > tfoot > tr > td.active, 
.table > thead > tr > th.active,
.table > tbody > tr > th.active, 
.table > tfoot > tr > th.active,
.table > thead > tr.active > td, 
.table > tbody > tr.active > td,
.table > tfoot > tr.active > td, 
.table > thead > tr.active > th,
.table > tbody > tr.active > th, 
.table > tfoot > tr.active > th {
  background-color: #f5f5f5;
}

.radio input[type="radio"], 
.radio-inline input[type="radio"], 
.checkbox input[type="checkbox"], 
.checkbox-inline input[type="checkbox"] {
  float: left;
  margin-left: -20px;
}

input[type="radio"], 
input[type="checkbox"] {
  margin: 4px 0 0;
  line-height: normal;
}

input[type="checkbox"], 
input[type="radio"] {
  padding: 0;
  box-sizing: border-box;
}

.hidden {
  display: none !important;
  visibility: hidden !important;
}

.full-width {
  width: 100%;
}

button, 
input, 
select[multiple], 
textarea {
  background-image: none;
}

.form-control {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.428571429;
  color: #555555;
  vertical-align: middle;
  background-color: #ffffff;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.sign-out {
  background-color: grey;
  padding: 5px 15px;
  font-weight: bold;
  border-radius: 3px;
  color: #ffffff;
  border: 1px solid #252323;
}

.sign-out:focus, 
.sign-out:hover {
  background-color: darkred;
  border: 1px solid #520008;
}

.close {
  float: right;
  line-height: 1;
  color: #000000;
  text-shadow: 0 1px 0 #ffffff;
}

.close:hover, .close:focus {
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.5;
}

.footer-content:first-of-type,
.footer-content:first-of-type {
  margin: 10px;
}

input {
  border: 1px solid #00b9bc;
  border-left: 0;
  color: inherit;
  font: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  -webkit-transition: background-color .3s;
  transition: background-color .3s;
}

.ui.modal {
  position: initial;
}

.noty_layout > .noty_bar > .noty_body {
  padding: 1.5em;
}

.logo {
  max-width: 50px;
}

.white {
  color: #F8F8FF;
}

.container-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .5em;
}

.pointer-row {
  cursor: pointer;
}

.navbar-container {
    padding-left: 2em;
    padding-right: 2em;
}

.modal-input {
  margin-bottom: 1em;
  width: 100%;
}

.wrapped-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.line {
  position: absolute;
  display: inline-block;
}

.new-registration-btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1em;
  background: #214F6D;
}

.ui.dropdown.new-registration-dropdown {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-bottom: 13.5px;
}

#new-registration-dropdown-items {
  top: 3.4em;
}

.ui.dropdown.attendance .menu {
  top: 2em;
  width: 10em;
}

.header-wrapper {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 767px) {
    .header-wrapper {
        justify-content:start;
    }

    .navbar-right-content-wrapper {
        display:initial;
    }

    .navbar-fixed-top {
        margin-top:-4rem;
        top:auto;
        position:relative;
    }

    .navbar {
        margin-bottom:0;
    }



}

div.header-warning-message {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 16px;
  background: #F2D586;
  color: #204E69;
  padding: .2em;
}

div.header-warning-message ~ div.header-warning-message {
  border-top: 1px #413F40 solid;
}

div.header-warning-message > i.close.icon {
  font-size: .8em;
}

.navbar-decoration {
  background-color: #413F40;
  border: none;
}

footer {
  height: 40px;
  background: #413F40;
  text-align: center;
  width: 100%;
}

.pagination label {
  margin-right: 5px;
}

.pagination-item {
  margin: 5px;
  border-radius: 5px;
}

.ui.button.yellow-control {
  background: #DDF5C8;
}

.ui.button.yellow-control:hover {
  background: #79B445;
  color: white;
}

.ui.button.green-control {
  background: #87C7AA;
  color: rgba(0,0,0,.6);
}

.ui.button.green-control:hover {
  background: #37996C;
  color: white;
}

.ui.button.darkgreen-control {
  background: #37996C;
  color: white;
}

.ui.button.darkgreen-control:hover,
.ui.button.darkgreen-control:focus {
  background: #0C7A48;
}

.ui.button.green-control,
.ui.button.green-control:hover,
.ui.button.yellow-control,
.ui.button.yellow-control:hover,
.ui.button.transient {
  transition: .5s;
}

.ui.button.darkred-control {
  background-color: #D32828;
  color: white;
}

.ui.button.darkred-control:hover {
  background-color: #B01111;
}

.ui.table.child-popup-table {
  background: #C8C7C8;
  color: black;
}

.ui.table.child-popup-table th {
  background-color: #656364;
  color: white;
}

.ui.selectable.child-popup-table tbody tr:hover {
  color: black;
}

.ui.inline.dropdown.language-dropdown {
  margin-right: 1em;
}

.container-flex-center {
    display: flex;
    align-items: center;
}

.ui.input.disabled > input,
input.disabled {
  background: lightgrey;
}

.ui.input.disabled {
  opacity: 1;
}

.ui.modal.yes-no {
  color: black;
}

input[type='number'] {
  -moz-appearance:textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.submit-with-close {
}

.ui.narrow.input {
  width: 5em;
}

input[type='image'] {
  border: none;
}

input[type='image'].mini {
  height: 1.15em;
}

input.centered,
.ui.input input.centered {
  text-align: center;
}

.ui.sortable.table thead th.sorted:after {
  display: none;
}

.ui.sortable.table thead th.sorted:before {
  display: inline-block;
}

.ui.sortable.table thead th.ascending:before {
  content: '\f0d8';
}

.ui.sortable.table thead th.descending:before {
  content: '\f0d7';
}

.ui.sortable.table thead th:before {
  display: none;
  font-style: normal;
  font-weight: 400;
  text-decoration: inherit;
  content: '';
  height: 1em;
  width: auto;
  opacity: .8;
  margin: 0 .5em 0 0;
  font-family: Icons;
}

.ui.modal.child-modal {
  position: absolute;
  left: auto;
  right: auto;
  bottom: auto;
  top: auto;
}

.ui.modal.full-height {
  height: 80%;
}

.ui.modal.height-fix {
  display: flex;
  flex-direction: column;
}

.popup-content {
  background-color: #E0E8ED;
  height: inherit;
  flex-grow: 1;
}

.inline.fields .field {
  padding-right: 1em;
}

.ui.checkbox label,
.ui.checkbox + label,
.ui.checkbox label:hover, 
.ui.checkbox + label:hover {
  color: #fff;
}

.ui.grid .column.input-fix {
  margin-right: 2rem;
}

.statuses-checkbox input[type="checkbox"] {
  margin-left: 0;
}

.container-statuses-checkbox {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.container-statuses-checkbox > div {
  margin: 3% 0 0 0;
}

.permissiom-use-default-settings {
  white-space: nowrap;
}

.permissiom-use-default-settings > label {
  margin-left: 3%;
}

.status-checkbox > label {
 margin-left: 3%;
}