﻿html {
  font-family: sans-serif;
  height: unset;
}

body {
  position: absolute;
  min-height: 100%;
  min-width: 100%;
  margin-top: 0;
  top: 0;
}

a {
  text-decoration: none;
}

body header#header, #extr-page body header#header {
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  background: #2a2725;
  min-height: unset;
}

.input-group .input-group-text {
  padding: 12px 18px;
}

#container article {
  position: fixed;
  width: 100%;
  top: 2em;
  left: 0;
  right: 0;
  height: calc(100% - 4em);
  overflow: scroll;
  padding: 1em;
}

body header#header menu ul {
  list-style: none;
  list-style-position: inside;
  padding: 0;
  margin: 0;
}

body header#header menu ul li {
  display: inline-block;
  text-wrap: none;
}

body header#header menu ul a {
  color: #fff;
  text-decoration: none;
  padding: 0.5em;
}

body header#header menu ul a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

#container nav header {
  position: relative;
  width: auto;
  background-color: inherit;
  margin-bottom: 0.8em;
}

/*body>footer {
    position: fixed;
    top: 100%;
    margin-top: -2em;
    background-color: rgb(42,39,37,0.6);
    width: 100%;
    left: 0;
    right: 0;
}*/
.sa-page-footer {
  background-color: rgba(107, 100, 94, 0.6);
}

footer, footer a {
  color: #eee !important;
}

address {
  white-space: pre;
}

.tile footer {
  text-align: right;
}

body footer li {
  display: inline-block;
  text-align: center;
  white-space: nowrap;
}

.tileset {
  margin-bottom: 3em;
}

.tileset ul {
  list-style: none;
  list-style-position: inside;
  padding: 0;
  margin: 0;
  display: grid;
  align-content: center;
  justify-content: space-around;
}

.tileset ul li a {
  padding: 0.25em;
}

/*One column*/
@media screen and (max-width: 36em) {
  .tileset ul {
    grid-template-columns: auto;
  }
  body header#header menu {
    display: none;
  }
  body header #top-right #menu {
    display: inline;
    right: 4em;
    border-color: rgba(255, 255, 255, 0.1);
    background: #2a2725;
    color: silver;
  }
  body > footer {
    font-size: 60%;
    white-space: nowrap;
  }
}
/* two column */
@media screen and (min-width: 36em) and (max-width: 52em) {
  .tileset ul {
    grid-template-columns: auto auto;
  }
  body header#header menu {
    display: none;
  }
  body header #top-right #menu {
    display: inline;
    right: 4em;
    border-color: rgba(255, 255, 255, 0.1);
    background: #2a2725;
    color: silver;
  }
}
/* Three column */
@media screen and (min-width: 52em) {
  .tileset ul {
    grid-template-columns: auto auto auto;
  }
  body header #top-right #menu {
    display: none;
  }
}
.tile-container .tile {
  padding-left: 1rem;
  padding-right: 1rem;
  /* width: 100%;
  height: 100%;*/
}

.tile a {
  color: #fff;
}

#extr-page body .sa-page-body .sa-content .sym-login-rnd-corners {
  margin-top: 30%;
}

html body div nav.tileset ul li.tile, html body .sa-page-body .sym-login-rnd-corners, html body .tile {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#4c4c4c+0,595959+6,666666+18,474747+29,4c4c4c+31,2c2c2c+41,000000+56,111111+66,2b2b2b+79,1c1c1c+91,131313+100&0.5+1,0.5+99 */
  background: -moz-linear-gradient(-45deg, rgba(76, 76, 76, 0.6) 0%, rgba(78, 78, 78, 0.6) 1%, rgba(89, 89, 89, 0.6) 6%, rgba(102, 102, 102, 0.6) 18%, rgba(71, 71, 71, 0.6) 29%, rgba(76, 76, 76, 0.6) 31%, rgba(44, 44, 44, 0.6) 41%, rgba(0, 0, 0, 0.6) 56%, rgba(17, 17, 17, 0.6) 66%, rgba(43, 43, 43, 0.6) 79%, rgba(28, 28, 28, 0.6) 91%, rgba(20, 20, 20, 0.6) 99%, rgba(19, 19, 19, 0.6) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(76, 76, 76, 0.6) 0%, rgba(78, 78, 78, 0.6) 1%, rgba(89, 89, 89, 0.6) 6%, rgba(102, 102, 102, 0.6) 18%, rgba(71, 71, 71, 0.6) 29%, rgba(76, 76, 76, 0.6) 31%, rgba(44, 44, 44, 0.6) 41%, rgba(0, 0, 0, 0.6) 56%, rgba(17, 17, 17, 0.6) 66%, rgba(43, 43, 43, 0.6) 79%, rgba(28, 28, 28, 0.6) 91%, rgba(20, 20, 20, 0.6) 99%, rgba(19, 19, 19, 0.6) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(76, 76, 76, 0.6) 0%, rgba(78, 78, 78, 0.6) 1%, rgba(89, 89, 89, 0.6) 6%, rgba(102, 102, 102, 0.6) 18%, rgba(71, 71, 71, 0.6) 29%, rgba(76, 76, 76, 0.6) 31%, rgba(44, 44, 44, 0.6) 41%, rgba(0, 0, 0, 0.6) 56%, rgba(17, 17, 17, 0.6) 66%, rgba(43, 43, 43, 0.6) 79%, rgba(28, 28, 28, 0.6) 91%, rgba(20, 20, 20, 0.6) 99%, rgba(19, 19, 19, 0.6) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#804c4c4c", endColorstr="#80131313",GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  border: solid 0.2em;
  border-color: rgba(0, 0, 0, 0.2);
  color: #eee;
  padding: 0.8em;
  border-radius: 0.8em;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.2) 0.4em 0.4em 0.4em;
  margin-bottom: 0.8em;
}

html body div nav.tileset ul li.tile {
  width: 20em;
  min-height: 20em;
  text-align: center;
  display: inline-block;
}

html body .sa-content .sym-login-rnd-corners {
  width: 100%;
}

html body .sa-content .sym-login-rnd-corners fieldset, html body .sa-content .sym-login-rnd-corners footer {
  background-color: transparent;
}

/* https://medium.com/@AmJustSam/how-to-do-css-only-frosted-glass-effect-e2666bafab91 */
/*.tile:before {
        content: '';
        background: inherit;
        position:absolute
        left:0;
        top:0;
        width:18em;
        height:18em;
        z-index:-1;
        filter: blur(5px);
        opacity: 1;
    }*/
nav.tileset ul li.tile:hover {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#4c4c4c+0,595959+6,666666+18,474747+29,4c4c4c+31,2c2c2c+41,000000+56,111111+66,2b2b2b+79,1c1c1c+91,131313+100&0.5+1,0.5+99 */
  background: -moz-linear-gradient(-45deg, rgba(76, 76, 76, 0.8) 0%, rgba(78, 78, 78, 0.6) 1%, rgba(89, 89, 89, 0.6) 6%, rgba(102, 102, 102, 0.6) 18%, rgba(71, 71, 71, 0.6) 29%, rgba(76, 76, 76, 0.6) 31%, rgba(44, 44, 44, 0.6) 41%, rgba(0, 0, 0, 0.6) 56%, rgba(17, 17, 17, 0.6) 66%, rgba(43, 43, 43, 0.6) 79%, rgba(28, 28, 28, 0.6) 91%, rgba(20, 20, 20, 0.6) 99%, rgba(19, 19, 19, 0.6) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, rgba(76, 76, 76, 0.6) 0%, rgba(78, 78, 78, 0.6) 1%, rgba(89, 89, 89, 0.6) 6%, rgba(102, 102, 102, 0.6) 18%, rgba(71, 71, 71, 0.6) 29%, rgba(76, 76, 76, 0.6) 31%, rgba(44, 44, 44, 0.6) 41%, rgba(0, 0, 0, 0.6) 56%, rgba(17, 17, 17, 0.6) 66%, rgba(43, 43, 43, 0.6) 79%, rgba(28, 28, 28, 0.6) 91%, rgba(20, 20, 20, 0.6) 99%, rgba(19, 19, 19, 0.6) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, rgba(76, 76, 76, 0.6) 0%, rgba(78, 78, 78, 0.6) 1%, rgba(89, 89, 89, 0.6) 6%, rgba(102, 102, 102, 0.6) 18%, rgba(71, 71, 71, 0.6) 29%, rgba(76, 76, 76, 0.6) 31%, rgba(44, 44, 44, 0.6) 41%, rgba(0, 0, 0, 0.6) 56%, rgba(17, 17, 17, 0.6) 66%, rgba(43, 43, 43, 0.6) 79%, rgba(28, 28, 28, 0.6) 91%, rgba(20, 20, 20, 0.6) 99%, rgba(19, 19, 19, 0.6) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#804c4c4c", endColorstr="#80131313",GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  /*background-color: rgba(0, 0, 0, 0.75);*/
  color: #ddd;
}

html body div nav.tileset ul li.tile a {
  text-decoration: none;
  color: #eee;
}

.tile header {
  font-weight: bold;
  font-size: 150%;
  margin-bottom: 0.6em;
}

.tile label {
  margin-bottom: 0;
}

.tile input, .tile textarea, .tile select, .tile .btn-default, .tile a.btn-default {
  color: #333;
}

.account_tile_set .tile footer {
  top: 100%;
  position: sticky;
}

/*.tilebody .row {
    display:block;
}*/
.download_icon {
  font-size: 5em;
  margin: 0.2rem;
}

.big_icon {
  font-size: 8em;
  margin: 0.125em;
}

.form-group {
  clear: left;
  margin-bottom: 0.5em;
}

.tile .form-group {
  margin-left: 0;
  margin-right: 0;
}

#account pre {
  background: none;
  border: none;
  color: inherit;
  padding: 0;
}

#account .form-group {
  text-align: left;
}

#invoice header, #invoice div {
  line-height: 1.42857143;
}

#invoice p {
  font-size: 150%;
  margin-bottom: 0.25em;
  margin-top: 0.5em;
}

#invoice a {
  margin-bottom: 0.25em;
}

#invoice > div {
  padding: 0px 10px 10px 11px;
}

#invoice a {
  display: inline-block;
}

#invoice .tilebody div {
  text-align: right;
  display: inline-block;
  font-size: 125%;
  width: 50%;
  margin: 0.2rem;
}

.tile#reports .form-group .value, .tile#alerts .form-group .value, .tile#services .form-group .value, .tile#mobiles .form-group .value {
  font-size: 150%;
}

.form-group label {
  display: block;
}

.form-group .value {
  font-weight: bold;
}

.form-group .value pre {
  font-family: inherit;
  margin: 0;
}

#top-right .pull-right {
  position: fixed;
  right: 1em;
  top: 0;
}

/*#logout span a {
    border-color: #646464;
    background: #2a2725;
    color: silver;
}*/
/*#logout span a:hover {
    border-color: silver;
    color: #fff;
}*/
/*#content {
    padding-top: 4em;
}*/
.svgWrapper {
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 0;
}

.svgWrapper svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.sa-content-wrapper {
  min-height: calc(100vh - 8em);
}

.sa-page-header {
  z-index: 1;
  /*height: 7.5em;*/
}

.modal-content {
  color: GrayText;
}

a:hover > .fa-spin-hover {
  -webkit-animation: fa-spin 2s infinite linear;
  -moz-animation: fa-spin 2s infinite linear;
  -o-animation: fa-spin 2s infinite linear;
  animation: fa-spin 2s infinite linear;
}

.tilebody .table .thead-dark, .tilebody .table thead tr {
  background-color: rgba(0, 0, 0, 0.5);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0)));
  background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0) 100%);
  background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0) 100%);
  background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0) 100%);
  background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0) 100%);
  background-image: -linear-gradient(top, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0) 100%);
  color: #eee;
  font-weight: 700;
}

.table .thead-dark > span {
  align-self: center;
}

.tilebody .table .thead-dark + .tbody, .tilebody .table .row + .row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tilebody .table-striped .tbody .row:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(0, 0, 0, 0.05)), to(rgba(0, 0, 0, 0)));
  background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0) 100%);
  background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0) 100%);
  background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0) 100%);
  background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0) 100%);
  background-image: -linear-gradient(top, rgba(0, 0, 0, 0.05) 0, rgba(0, 0, 0, 0) 100%);
}

.tilebody .table-striped .tbody .row:nth-of-type(even) {
  background-color: rgba(0, 0, 0, 0.1);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(0, 0, 0, 0.1)), to(rgba(0, 0, 0, 0)));
  background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.1) 0, rgba(0, 0, 0, 0) 100%);
  background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.1) 0, rgba(0, 0, 0, 0) 100%);
  background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0.1) 0, rgba(0, 0, 0, 0) 100%);
  background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.1) 0, rgba(0, 0, 0, 0) 100%);
  background-image: -linear-gradient(top, rgba(0, 0, 0, 0.1) 0, rgba(0, 0, 0, 0) 100%);
}

.btn i + span {
  padding-left: 5px;
  white-space: nowrap;
}

.overflow-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
}

.fa-1_5x {
  font-size: 1.5em;
}

.fa-2_5x {
  font-size: 2.5em;
}

.tilebody .dataTables_info {
  color: #fff;
}

/* Revert the shading to bootstrap default - it's transparent, so works regardless of background and text colour being used */
.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

div.dataTables_wrapper div.extracomponents select {
  margin-left: 0.5em;
  display: inline-block;
  width: auto;
}

.status-light {
  width: 1.5em;
  height: 1.5em;
  display: inline-block;
  background-color: rgb(152, 152, 152);
  border-color: rgb(100, 100, 100);
  border-style: solid;
  border-width: 1px;
  margin-right: 0.5em;
  vertical-align: bottom;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  background-image: linear-gradient(to top right, rgb(100, 100, 100), rgb(152, 152, 152));
}

div.option {
  margin-bottom: 4px;
}

.toggle, .toggle-on, .toggle-off, .toggle .toggle-handle {
  border-radius: 20px;
}

.toggle-off, .toggle-on {
  font-size: 1.25em;
}

.toggle-handle {
  height: 2em;
  left: -16px;
  top: 3px;
}

.toggle.off .toggle-handle {
  left: 16px;
  animation: toggleOffHandle;
  animation-duration: 0.5s;
}

.toggle {
  animation: toggleOn;
  animation-duration: 0.5s;
  padding-right: 60px;
  margin-top: 2px;
  margin-bottom: 2px;
}

.toggle.off {
  background: #e6e6e6;
  animation: none;
}

.toggle .toggle-on {
  animation: toggleOn;
  animation-duration: 0.5s;
}

.toggle.off .toggle-on {
  animation: toggleOffOn;
  animation-duration: 0.5s;
  visibility: hidden;
}

.toggle.off .toggle-group {
  animation: toggleOffGroup;
  animation-duration: 0.5s;
}

.toggle .toggle-off {
  animation: toggleOffOn;
  animation-duration: 0.5s;
  visibility: hidden;
}

.toggle.off .toggle-off {
  visibility: visible;
}

@keyframes toggleOn {
  0%, 50% {
    background: #e6e6e6;
  }
}
@keyframes toggleOffOn {
  0% {
    visibility: visible;
  }
  50% {
    background: #e6e6e6;
    visibility: hidden;
  }
}
@keyframes toggleOffGroup {
  0%, 50% {
    left: 0;
  }
}
@keyframes toggleOffHandle {
  0%, 50% {
    left: -16px;
  }
  100% {
    left: 16px;
  }
}
.period_picker .form-group {
  margin-bottom: 0;
}

.period_picker .year_display {
  display: inline-block;
}

.pagination .page-item.disabled a.page-link {
  cursor: not-allowed;
  pointer-events: all;
  background-color: #eee;
}

.pagination .page-item a.page-link {
  color: #6c757d;
}

.dropdown > .dropdown-menu, .dropdown-toggle + .dropdown-menu {
  top: 0 !important;
}

.popover-body {
  white-space: pre-line;
}

#logout {
  border-color: rgba(255, 255, 255, 0.1);
  font-size: 1.25rem;
}

a.btn.disabled.allow-hover {
  pointer-events: all;
}

.btn:not(.disabled):not(:disabled) {
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}

div.period_picker {
  border: none;
}
