body {
  padding-top: 50px;
}

body > header,
body > div.container-lg,
body > section {
  margin-bottom: 25px;
}

@media screen and (max-width: 992px) {
  .no-mobile {
    display: none;
  }
}

label:hover {
  cursor: pointer;
}

/* Login */

body > #login-form {
  z-index: 999;
}

body > #login-form > div > div {
  position: relative;
}

body > #login-form > div > div > a,
body > #login-form > div > div > #loginBtn,
body > #login-form > div > div > #logoutBtn {
  float: right;
  font-size: 40px;
  color: #333;
  margin: auto 10px;
}

body > #login-form > div > div > a,
body > #login-form > div > div > #loginBtn:hover,
body > #login-form > div > div > #logoutBtn:hover {
  cursor: pointer;
  text-decoration: none;
}

body > #login-form > div > div fieldset {
  border: none;
}

body > #login-form > div > div .login {
  position: absolute;
  width: 350px;
  right: 0;
  top: 50px;
  z-index: 999;
}

body > #login-form > div > div .arrow-up {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid #ecf0f1;
  position: absolute;
  right: 5%;
  top: -10px;
}

body > #login-form > div > div .formholder,
body > #login-form > div > div .successMessage {
  background: #ecf0f1;
  width: 350px;
  border-radius: 5px;
  padding-top: 5px;
}

body > #login-form > div > div .formholder input#username,
.formholder input#password {
  padding: 7px 5px;
  margin: 10px 0;
  width: 100%;
  display: block;
  font-size: 18px;
  border-radius: 5px;
  border: none;
  -webkit-transition: 0.3s linear;
  -moz-transition: 0.3s linear;
  -o-transition: 0.3s linear;
  transition: 0.3s linear;
}

body > #login-form > div > div .formholder input#username:focus,
.formholder input#password:focus {
  outline: none;
  box-shadow: 0 0 1px 1px #1abc9c;
}

body > #login-form > div > div .formholder input[type="submit"] {
  background: #1abc9c;
  padding: 10px;
  font-size: 20px;
  display: block;
  width: 100%;
  border: none;
  color: #fff;
  border-radius: 5px;
}

body > #login-form > div > div .formholder input.red[type="submit"] {
  background: #c61b1b;
}

body > #login-form > div > div .formholder input[type="submit"]:hover {
  background: #1bc6a4;
}

body > #login-form > div > div .randompad {
  padding: 10px;
}

/* Home */

header h1 {
  position: relative;
  padding: 15px 100px 15px;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#780000+0,ff0000+100 */
  background: #780000;
  /* Old browsers */
  background: -moz-linear-gradient(top, #780000 0%, #ff0000 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #780000 0%, #ff0000 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #780000 0%, #ff0000 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#780000', endColorstr='#ff0000', GradientType=0);
  /* IE6-9 */
  color: white;
  font-weight: bold;
  margin-left: 75px;
  margin-bottom: 50px;
}

header h1 > span.headerSquares {
  position: absolute;
  display: block;
  top: -34.5px;
  left: -75px;
  width: 138px;
  height: 138px;
}

header h1 > span.headerSquares > span {
  float: left;
  width: 25%;
  height: 25%;
}

header h1 > span.headerSquares > span.red {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#780000+0,ff0000+100 */
  background: #780000;
  /* Old browsers */
  background: -moz-linear-gradient(top, #780000 0%, #ff0000 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #780000 0%, #ff0000 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #780000 0%, #ff0000 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#780000', endColorstr='#ff0000', GradientType=0);
  /* IE6-9 */
}

header h1 > span.headerSquares > span.blue {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#00007d+0,0000ff+100 */
  background: #00007d;
  /* Old browsers */
  background: -moz-linear-gradient(top, #00007d 0%, #0000ff 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #00007d 0%, #0000ff 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #00007d 0%, #0000ff 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00007d', endColorstr='#0000ff', GradientType=0);
  /* IE6-9 */
}

header h1 > span.headerSquares > span.yellow {
  background: yellow;
}

section#content div.container-lg {
  padding-left: 20px;
  padding-right: 20px;
}

section#content table#clients-table tr.submitted {
  background-color: rgba(255, 255, 0, 0.3);
}

section#content table#clients-table tr.submitted:nth-of-type(odd) {
  background-color: rgba(255, 255, 0, 0.5);
}

section#content table#clients-table tr.reminder {
  background-color: rgba(255, 165, 0, 0.3);
}

section#content table#clients-table tr.reminder:nth-of-type(odd) {
  background-color: rgba(255, 165, 0, 0.5);
}

section#content table#clients-table tr.reminderAgain {
  background-color: rgba(255, 0, 0, 0.3);
}

section#content table#clients-table tr.reminderAgain:nth-of-type(odd) {
  background-color: rgba(255, 0, 0, 0.5);
}

section#content table#clients-table tr.done {
  background-color: rgba(0, 0, 255, 0.3);
}

section#content table#clients-table tr.done:nth-of-type(odd) {
  background-color: rgba(0, 0, 255, 0.5);
}

section#content table#clients-table tr.paid {
  background-color: rgba(0, 255, 0, 0.3);
}

section#content table#clients-table tr.paid:nth-of-type(odd) {
  background-color: rgba(0, 255, 0, 0.5);
}

section#content table#clients-table tr.locked {
  background-color: rgba(0, 0, 0, 0.3);
}

section#content table#clients-table tr.locked:nth-of-type(odd) {
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
}

section#content table#clients-table tr.submitting {
  background-color: rgba(255, 192, 203, 0.5);
}

section#content table#clients-table tr.submitting:nth-of-type(odd) {
  background-color: rgba(255, 192, 203, 0.75);
}

section#content table#clients-table tr.problem {
  background-color: rgba(255, 0, 0, 0.8);
  color: white;
}

section#content table#clients-table tr.problem:nth-of-type(odd) {
  background-color: rgba(255, 0, 0, 1);
  color: white;
}

section#content table#clients-table tr > td > select#status {
  min-width: 140px;
}

section#content table#clients-table th,
section#content table#clients-table td {
  vertical-align: middle;
}

section#content table#clients-table th.center,
section#content table#clients-table td.center,
section#content table#clients-table tfoot > tr > td {
  text-align: center;
}

section#content table#clients-table th.right,
section#content table#clients-table td.right {
  text-align: right;
}

section#content table#clients-table td.konto {
  border-left: 15px solid blue;
}

section#content table#clients-table tr span.bi-exclamation-triangle {
  color: red;
  text-shadow: 1px 1px white;
}

section#content table#clients-table tr span.bi-info-sign,
section#content table#clients-table tr span.bi-envelope,
section#content table#clients-table tr span.bi-check,
section#content table#clients-table tr label.bi-book,
section#content table#clients-table tr span.bi-card-list,
#clientForm span.bi-envelope {
  font-size: 1.5em;
}

section#content table#clients-table tr span.bi-info-sign:hover,
section#content table#clients-table tr span.bi-envelope:hover,
section#content table#clients-table tr label.bi-book:hover,
section#content table#clients-table tr span.bi-card-list:hover,
#clientForm span.bi-envelope:hover,
section#content table#clients-table tr span.copy-data:hover {
  cursor: pointer;
}

section#content table#clients-table tr span.bi-copy {
  font-size: 1em;
  margin-left: 0.5em;
  color: rgba(0, 0, 0, 0.25);
}

section#content div#history-window,
section#content div#sms-window,
section#content table#clients-table div.remarks-window {
  position: absolute;
  bottom: 0;
  min-height: 50px;
  background: #ecf0f1;
  padding: 5px 10px;
  right: 7.25%;
  box-shadow: 0px 0px 10px black;
  z-index: 10;
}

section#content table#clients-table div.remarks-wrapper {
  position: relative;
}

section#content table#clients-table div.remarks-window {
  display: none;
}

section#content
  table#clients-table
  input.remarks-check:checked
  + div.remarks-wrapper
  > div.remarks-window {
  display: block;
  bottom: auto;
  top: 5px;
  right: -10px;
}

section#content div#history-window table {
  border-collapse: collapse;
}

section#content div#history-window table tr {
  border-bottom: 1px solid black;
}

section#content div#history-window table tr.active {
  font-weight: bold;
}

section#content div#history-window table tr.red {
  color: red;
}

section#content div#history-window table tr:last-of-type {
  border-bottom: none;
}

section#content div#history-window table th,
section#content div#history-window table td {
  padding: 3px 5px;
}

section#content div#sms-window textarea {
  min-height: 100px;
}

section#content div#history-window div.arrow-down,
section#content div#sms-window div.arrow-down {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 15px solid #ecf0f1;
  position: absolute;
  right: 5%;
  bottom: -10px;
}

section#content div#history-window div.arrow-up,
section#content div#sms-window div.arrow-up,
section#content table#clients-table div.remarks-window > div.arrow-up {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid #ecf0f1;
  position: absolute;
  right: 5%;
  top: -10px;
}

section#content table#clients-table div.remarks-window > div.arrow-up {
  right: 5px;
}

section#content table#clients-table tfoot td#pageSelector {
  word-wrap: break-word;
  word-break: break-word;
}

section#content table#clients-table tfoot > tr > td > a,
section#content table#clients-table tfoot > tr > td > span {
  margin: 5px 10px;
}

div #search-box input#dataBoxSearch + label {
  color: #ccc;
  font-size: 1.5em;
  font-weight: 400;
}

div #search-box input#dataBoxSearch + label.green {
  color: green;
}

div#search-box button#btnSearch,
div#search-box a.btn {
  width: 100%;
}

section#content > div.container-lg form > div > div > h2 {
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ddd;
}

section#content div.general > dl > dt,
section#content div.general > dl > dd {
  float: left;
  width: 50%;
  margin-bottom: 15px;
}

section#content div.general > dl > dt {
  clear: both;
}

/* Edit */

section#content div.buttons a {
  width: 100%;
}

section#content div.pays > div.row,
section#content div.statuses > div.row {
  border-bottom: 1px solid #ddd;
  margin-right: 15px;
  margin-left: 15px;
}

section#content div.row.statuses div.status div.statusValue {
  margin-bottom: 35px;
  margin-right: 15px;
  margin-left: 15px;
}

section#content div.pays > div.row h3.red,
section#content div.statuses > div.row h3.red {
  color: red;
  text-align: center;
  margin-top: 0;
}

section#content div.pays > div.row h3.red:hover,
section#content div.statuses > div.row h3.red:hover {
  cursor: pointer;
}

section#content div.statuses .showStatusForYear ~ div,
section#content div.pays .showPayForYear ~ div {
  display: none;
}

section#content div.statuses .showStatusForYear:checked ~ div,
section#content div.pays .showPayForYear:checked ~ div {
  display: block;
}

section#content ul#docs > li > span.bi {
  margin-left: 1em;
  padding-left: 1em;
  padding-right: 1em;
  color: rgba(255, 0, 0, 0.25);
}

section#content ul#docs > li span.bi:hover {
  color: rgba(255, 0, 0, 1);
  cursor: pointer;
}

section#content textarea {
  width: 100%;
  min-height: 350px;
  resize: vertical;
}

section#content textarea[id^="StatusRemark"] {
  min-height: 100px;
}

section#content input[pattern]:invalid,
section#content label.invalid {
  border-color: red;
}

/* Queue table menu */

#queue-table-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 350px;
  padding-top: 30px;
  border-left: 1px solid #ccc;
  height: 100%;
  background: white;
}

#queue-table-menu.closed {
  right: -350px;
}

#queue-table-menu > .queue-table-button-wrapper {
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
  border-right: none;
  position: absolute;
  right: 100%;
  background: white;
}

#queue-table-menu > .queue-table-button-wrapper > span {
  font-size: 2em;
  padding: 20px;
}

#queue-table-menu > .queue-table-button-wrapper > span:hover {
  cursor: pointer;
}

#queue-table-menu #queue-table-next-btn {
  width: 100%;
  padding: 15px;
}

/* Alerts */

#alertMessages {
  position: fixed;
  top: 110px;
  right: 15px;
  width: 20%;
  z-index: 100;
}

/* Page loader */

#pageLoader {
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background: rgba(0, 0, 0, 0.25);
  z-index: 999;
}

#pageLoader.hidden {
  display: none;
}

.folding-cube {
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 50%;
  margin-top: -70px;
  margin-left: -70px;
  width: 100px;
  height: 100px;
  position: relative;
  -webkit-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
}

.folding-cube .red:before {
  background: red;
}

.folding-cube .blue:before {
  background: blue;
}

.folding-cube .yellow:before {
  background: yellow;
}

.folding-cube .white:before {
  background: white;
}

.folding-cube .cube {
  float: left;
  width: 50%;
  height: 50%;
  position: relative;
}

.folding-cube .cube:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-animation: sk-foldCubeAngle 2.4s infinite linear both;
  animation: sk-foldCubeAngle 2.4s infinite linear both;
  -webkit-transform-origin: 100% 100%;
  -ms-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
}

.folding-cube .cube2 {
  -webkit-transform: rotateZ(90deg);
  transform: rotateZ(90deg);
}

.folding-cube .cube3 {
  -webkit-transform: rotateZ(180deg);
  transform: rotateZ(180deg);
}

.folding-cube .cube4 {
  -webkit-transform: rotateZ(270deg);
  transform: rotateZ(270deg);
}

.folding-cube .cube2:before {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
  box-shadow: 10px -10px 10px rgba(0, 0, 0, 0.5);
}

.folding-cube .cube3:before {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
  box-shadow: -10px -10px 10px rgba(0, 0, 0, 0.5);
}

.folding-cube .cube4:before {
  -webkit-animation-delay: 0.9s;
  animation-delay: 0.9s;
  box-shadow: -10px 10px 10px rgba(0, 0, 0, 0.5);
}

@-webkit-keyframes sk-foldCubeAngle {
  0%,
  10% {
    -webkit-transform: perspective(350px) rotateX(-180deg);
    transform: perspective(350px) rotateX(-180deg);
    opacity: 0;
  }

  25%,
  75% {
    -webkit-transform: perspective(350px) rotateX(0deg);
    transform: perspective(350px) rotateX(0deg);
    opacity: 1;
  }

  90%,
  100% {
    -webkit-transform: perspective(350px) rotateY(180deg);
    transform: perspective(350px) rotateY(180deg);
    opacity: 0;
  }
}

@keyframes sk-foldCubeAngle {
  0%,
  10% {
    -webkit-transform: perspective(350px) rotateX(-180deg);
    transform: perspective(350px) rotateX(-180deg);
    opacity: 0;
  }

  25%,
  75% {
    -webkit-transform: perspective(350px) rotateX(0deg);
    transform: perspective(350px) rotateX(0deg);
    opacity: 1;
  }

  90%,
  100% {
    -webkit-transform: perspective(350px) rotateY(180deg);
    transform: perspective(350px) rotateY(180deg);
    opacity: 0;
  }
}

/* Queue Table */

body#queueTable {
  background: #2d4471;
  margin: 5px;
  font-size: 20px;
}

body#queueTable .header-box {
  padding: 0.5em;
}

body#queueTable .header-box > .header-message {
  border-radius: 10px;
  background: #0f2145;
  color: #5c729d;
  text-align: center;
  font-weight: bold;
  padding: 0.5em;
  font-size: 1.25em;
}

body#queueTable .client-box {
  padding: 0.5em;
  position: relative;
}

body#queueTable .client-box > .number {
  font-weight: bold;
  color: #a8b9d9;
  background: #0f2145;
}

body#queueTable .client-box > .counter {
  font-weight: bold;
  color: #5c729d;
  background: #0f2145;
  max-width: 100%;
}

body#queueTable .client-box.new-number {
  text-align: center;
}

body#queueTable .client-box.new-number > .number {
  font-size: 8em;
  padding: 0.1em;
  border-radius: 10px 10px 0px 0px;
}

body#queueTable .client-box.new-number > .counter {
  font-size: 4em;
  padding: 0.5em;
  border-radius: 0px 0px 10px 10px;
}

body#queueTable .client-box.new-number > .counter > span {
  margin-right: 1em;
}

body#queueTable .client-box.old-number {
  margin-bottom: 1.5em;
}

body#queueTable .client-box.old-number > .number {
  font-size: 4em;
  padding: 0.5em 0.75em;
  border-radius: 10px;
}

body#queueTable .client-box.old-number > .counter {
  font-size: 2em;
  padding: 0.25em 1em;
  position: absolute;
  bottom: -0.5em;
  right: 0.25em;
  border-radius: 10px;
  border: 5px solid #2d4471;
}

body > section > #cookies-bar {
  position: fixed;
  bottom: 0;
  padding: 10px;
}

@media screen and (max-width: 370px) {
  body#queueTable {
    background: #2d4471;
    margin: 5px;
    font-size: 20px;
  }

  body#queueTable .client-box.new-number > .counter > span {
    margin-right: 0em;
    word-break: break-word;
  }
}

@media screen and (min-width: 1900px) {
  body#queueTable {
    background: #2d4471;
    margin: 5px;
    font-size: 30px;
  }

  body#queueTable .container-fluid {
    margin: 3.5em 0px 0px;
  }
}
