﻿@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;
}

.admin-login-view,
.user-login-view,
.find-id-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) {
  .admin-login-view .admin-login-layout,
  .user-login-view .user-login-layout,
  .find-id-view .find-id-layout {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 700px;
    width: 600px;
  }

    .admin-login-view .admin-login-layout .form-group,
    .user-login-view .user-login-layout .form-group,
    .find-id-view .find-id-layout .form-group {
      display: grid;
      grid-template-columns: 2fr 3fr;
      grid-gap: 10px;
    }

      .user-login-view .user-login-layout .form-group.no-label::before {
        content: "";
      }

  .admin-view,
  .user-view {
    display: grid;
    grid-template-columns: 1fr 5fr;
    height: 100%;
    overflow: hidden;
  }

    .user-view .week-menu-container .week-view,
    .admin-view .week-view {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      grid-gap: 10px;
    }

      .user-view .week-menu-container .week-view .panel-body,
      .admin-view .week-view .panel-body {
        padding: 8px;
      }


      .user-view .message-screen, .admin-view .message-screen {
      position: relative;
      width: 100%;
      height: 100%;
      overflow-y: auto;
    }

      .user-view .message-screen .message-screen-layout,
      .admin-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) {
  .admin-login-view .admin-login-layout,
  .user-login-view .user-login-layout,
  .find-id-view .find-id-layout {
    height: 600px;
    margin-top: 44px;
  }

  .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-color: #66cc33;
  height: 100%;
  padding: 10px 10px 20px;
  box-shadow: 3px 0 8px 2px rgba(0,0,0,0.2);
  background-image: url(/images/aliveschool-logo-white.png);
  background-position: center bottom;
  background-origin: content-box;
  background-size: 90%;
  background-repeat: no-repeat;
}

.user-view .sidebar {
  background-color: #66cc33;
  height: 100%;
  padding: 10px 10px 20px;
  box-shadow: 3px 0 8px 2px rgba(0,0,0,0.2);
  background-image: url(/images/aliveschool-logo-white.png);
  background-position: center bottom 80px;
  background-origin: content-box;
  background-size: 90%;
  background-repeat: no-repeat;
}

.list-group-item.active {
  background-image: none;
  background-color: #c2ebad;
  border-color: #ffffff;
  color: #333;
}

  .list-group-item.active:hover,
  .list-group-item.active:focus {
    background-image: none;
    background-color: #52a329;
    background-repeat: no-repeat;
    border-color: #ffffff;
    color: #333;
    text-shadow: 0 -1px 0 #336619;
  }

.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;
  }

.panel.panel-success {
  border-color: #66cc33;
}

  .panel.panel-success > .panel-heading {
    background-image: none;
    background-color: #66cc33;
    text-align: center;
  }

    .panel.panel-success > .panel-heading > .panel-title {
      color: #ffffff;
      font-size: 20px;
    }

.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;
  }

  @page {
    size: letter portrait;
    margin: 0.5in 0.22in 0.49in 0.22in;
  }

  .printable.labels tr {
    width: 100%;
    margin: 0;
  }

  .printable.labels td {
    font-size: 11px;
    width: 2.58in;
    height: 1in;
    margin: 0;
    vertical-align: middle;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0.05in;
    overflow: hidden;
  }

    .printable.labels td.separator {
      width: 0.12in;
    }

    .printable.labels td h1, td h2, td p {
      font-size: 11px;
    }
}

.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.btn-xs > .glyphicon {
  vertical-align: -2px;
}

.btn-sm {
  font-size: 1em;
  padding: 2px 10px;
}

.btn-secondary.btn-success {
  background-color: #fff;
  color: #66cc33;
  border: 2px solid #66cc33;
  box-sizing: border-box;
  background-image: none;
}

.glyphicon-spin {
  -webkit-animation: spin 1000ms infinite linear;
  animation: spin 1000ms infinite linear;
}

.btn {
  border-radius: 0 !important;
}

.template-section {
  padding-bottom: 10px;
}

  .template-section:not(:last-of-type) {
    border-bottom: 1px solid #66cc33;
  }

  .template-section .template-section-header {
    font-weight: bolder;
    color: green;
    padding: 8px 7px;
  }

  .template-section.selected .template-section-header {
    background-color: #eaeaea;
  }

.admin-view .option-content {
  padding-left: 8px;
  margin-bottom: 20px;
}

.user-view .option-content {
  margin-bottom: 10px;
}

.user-view .option-content .checkbox {
  font-size: 15px;
}

.option-content label.option-label {
  margin: 0;
}

.option-content .option-control {
  position: relative;
  display: grid;
  grid-template-columns: 15px 1fr;
  grid-gap: 6px;
  margin-bottom: 4px;
  line-height: 34px;
}

  .option-content .option-control .dropdown-menu {
    left: 0;
    right: 0;
  }

    .option-content .option-control .dropdown-menu > li > a {
      padding: 8px 10px;
      white-space: normal;
      line-height: 1.2;
    }

.instructions {
  font-size: 12px;
  color: #66cc33;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #ffffff;
}

.table-striped > tbody > tr:nth-of-type(even) {
  background-color: #f0faeb;
}

.panel-success.invalid {
  border: 1px solid red;
}

  .panel-success.invalid .panel-heading {
    background-color: red;
  }

@-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);
  }
}
