﻿@font-face {
  font-family: Questrial;
  src: url(Questrial-Regular.ttf);
}

@font-face {
  font-family: Monoton;
  src: url(Monoton-Regular.ttf);
}

@font-face {
  font-family: SpecialElite;
  src: url(SpecialElite-Regular.ttf);
}

html, body {
  font-family: Questrial, Arial, Helvetica, sans-serif;
  font-size: 1em;
  min-height: 100%;
  height: 100%;
}

.busy-screen {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(102, 204, 51, 0.7);
  z-index: 10000;
}

.preloader-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 100px;
  height: 100px;
}

/*.user-view {
  background-color: #66cc33;
}

  .user-view .week-menu-container {
    background-color: #fff;
    padding: 10px;
  }*/

.user-login-view {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #66cc33;
}

  .user-login-view .admin-link {
    position: absolute;
    top: 10px;
    right: 20px;
  }

@media only screen and (min-width : 1024px) {
  .user-login-view .user-login-layout {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 600px;
    width: 1000px;
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 20px;
  }

  .user-view {
    display: grid;
    grid-template-columns: 1fr 4fr;
    height: 100%;
    overflow: hidden;
  }

    .user-view .week-menu-container .week-view {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      grid-gap: 10px;
    }

    .user-view .message-screen {
      position: relative;
      width: 100%;
      height: 100%;
      overflow-y: auto;
    }

      .user-view .message-screen .message-screen-layout {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 800px;
        height: 800px;
        margin: auto;
        font-size: 1.5em;
        text-align: center;
      }
}

@media only screen and (max-width : 1023px) {
  .user-login-view .user-login-layout {
    height: 600px;
  }

  .user-view {
    height: 100%;
  }

    .user-view .message-screen .message-screen-layout {
      padding: 10px;
      font-size: 1.5em;
      text-align: center;
    }
}

.alert {
  padding: 6px;
}

table {
  font-size: .875em;
}

.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th,
.table-borderless > tfoot > tr > td,
.table-borderless > tfoot > tr > th,
.table-borderless > thead > tr > td,
.table-borderless > thead > tr > th {
  border: 0;
}

.table-editable > tbody > tr > td > input,
.table-editable > tbody > tr > td > select {
  border: 0;
  width: 100%;
  background-color: transparent;
}

tbody > tr.active > td.danger {
  background-color: #ff6666;
}

tbody > tr.active:hover > td.danger {
  background-color: #ff4d4d;
}

.admin-view .alive-form .form-group {
  margin-bottom: 0;
}

  .admin-view .alive-form .form-group > label {
    margin: 5px 0 0;
    font-size: 0.9em;
  }

.admin-view .side-panel {
  background-image: -webkit-linear-gradient(top, #d4fcd4 0%, #66cc33 100%);
  background-image: -o-linear-gradient(top, #d4fcd4 0%, #66cc33 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#d4fcd4), to(#66cc33));
  background-image: linear-gradient(to bottom, #d4fcd4 0%, #66cc33 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd4fcd4', endColorstr='#ff66cc33', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  background-repeat: repeat-x;
  background-color: #66cc33;
  height: 100%;
  padding: 10px;
  box-shadow: 3px 0 8px 2px rgba(0,0,0,0.2);
}

.list-group-item.active {
  background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
  background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641));
  background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  background-repeat: repeat-x;
  border-color: #3e8f3e;
}

  .list-group-item.active:hover,
  .list-group-item.active:focus {
    background-color: #419641;
    background-position: 0 -40px;
    border-color: #3e8f3e;
  }

.message-form .form-group.form-group-sm {
  margin-bottom: 4px;
}

.message {
  display: inline-block;
  width: 260px;
  padding: 2px 0 2px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin: 2px;
}

  .message.active {
    background-color: #66cc33;
  }

  .message:hover {
    background-color: #dff0d8;
  }

  .message:before {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\2709";
    font-size: 18px;
    color: #3c763d;
  }

  .message > .message-name {
    display: inline-block;
    width: 224px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 16px;
  }

  .message:hover > .message-name {
    width: 174px;
  }

  .message .btn {
    vertical-align: top;
    margin: 0 1px;
    display: none;
  }

  .message:hover .btn {
    display: inline-block;
  }

.panel-sm {
  width: 100%;
  margin-bottom: 8px;
}

  .panel-sm .panel-heading,
  .panel-sm .panel-footer {
    padding: 4px 8px;
  }

  .panel-sm .panel-body {
    padding: 10px;
  }

.btn-checkbox {
  margin-bottom: 2px;
}

  .btn-checkbox > .glyphicon-ok {
    opacity: 0;
  }

  .btn-checkbox.active > .glyphicon-ok {
    opacity: 1;
  }

.form-control.btn-checkbox {
  display: block;
  width: 30px;
  margin: 0 auto;
}

.form-control.login {
  border-radius: 0;
  border: 2px solid #000;
}

@media all and (min-width:768px) {
  .navbar {
    min-height: 30px;
    margin-bottom: 10px;
  }

  .navbar-nav > li > a {
    padding-top: 6px;
    padding-bottom: 6px;
  }
}

.pagination {
  margin: 0;
}

.form-group {
  margin-bottom: 6px;
}

.menu-section-title {
  margin: 4px 0px 6px;
  font-weight: bold;
  border-bottom: 1px solid #bbb;
}

.menu-option {
  display: inline-block;
  width: calc(100% - 28px);
  padding-left: 4px;
  vertical-align: top;
}

@media screen {
  .printable {
    display: none;
  }
}

@media print {
  body * {
    visibility: hidden;
  }

  .printable, .printable * {
    visibility: visible;
  }

  .printable {
    position: absolute;
    left: 0;
    top: 0;
  }
}

.modal-header,
.modal-footer {
  padding: 6px 15px;
}

.send-menu-email {
  max-width: 400px;
  width: 400px;
}

.form-group-sm .form-control {
  font-size: 1.2em;
  border-radius: 0;
}

.btn-sm {
  font-size: 1em;
  padding: 2px 10px;
}

.glyphicon-spin {
  -webkit-animation: spin 1000ms infinite linear;
  animation: spin 1000ms infinite linear;
}

.btn {
  border-radius: 0 !important;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
