:root {
  --input-padding-x: .75rem;
  --input-padding-y: .75rem;
  --primary:#ed5565;
  --primary3:#3d5f95;
  --radius:6px; }

:root .app-vol {
  --primary3:#cd6e00; }

:root .app-vop {
  --primary3:#fec95f; }

:root .app-fol {
  --primary3:#177f88; }

:root .app-pgo {
  --primary3:#00a4c7; }

:root .app-vv4, :root .app-v4c, :root .app-v4p {
  --primary3:#533043; }

:root .app-vel, :root .app-vlc {
  --primary3:#804e69; }

:root .app-vpl, :root .app-vpc {
  --primary3:#804e69; }

:root .app-tcm {
  --primary3:#ffaa09; }

:root .app-eng {
  --primary3:#364364; }

html {
  font-size: 16px; }

html, body {
  height: 100%;
  max-width: 100%;
  overflow-x: hidden; }

body {
  position: relative;
  width: 100%;
  float: left; }
  body.loading .modal {
    overflow: hidden;
    display: block; }

.modal {
  display: none;
  position: fixed;
  z-index: 1042;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: white url("../img/loading.gif") 50% 50% no-repeat; }
  .modal .btn-close {
    padding: 0px;
    color: #ed5565;
    font-size: 1.3rem; }

#testing {
  position: fixed;
  top: -120px;
  right: -120px;
  margin: 0px !important;
  background-color: #ed5565;
  color: #fff;
  font-weight: 700;
  padding: 140px 140px 30px 30px;
  box-shadow: 0 0 0 0 #ed5565;
  animation: pulseBlue 2s infinite;
  z-index: 997;
  text-align: right;
  border-radius: 200px;
  box-sizing: content-box;
  width: 80px;
  height: 80px; }

@keyframes pulseBlue {
  0% {
    box-shadow: 0 0 0 0 rgba(237, 85, 101, 0.7); }
  70% {
    box-shadow: 0 0 0 16px rgba(237, 85, 101, 0); }
  100% {
    box-shadow: 0 0 0 0 rgba(237, 85, 101, 0); } }
a {
  outline: none; }

.hover {
  cursor: pointer; }

.header {
  text-align: center;
  margin: 1rem 0 2rem; }

.alert p {
  word-wrap: break-word; }

h1 {
  font-weight: normal; }

h3 {
  padding-top: 2rem;
  padding-bottom: 1rem; }

h4 {
  padding-top: 1.6rem;
  padding-bottom: 0.6rem; }

.form-label-group {
  position: relative;
  margin-bottom: 1rem; }
  .form-label-group textarea {
    min-height: 180px; }
  .form-label-group > input, .form-label-group > textarea, .form-label-group > label {
    padding: var(--input-padding-y) var(--input-padding-x); }
  .form-label-group label {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    margin-bottom: 0;
    line-height: 1.5;
    color: #999;
    cursor: text;
    border: 1px solid transparent;
    border-radius: .25rem;
    transition: all .1s ease-in-out; }
  .form-label-group input::-webkit-input-placeholder, .form-label-group textarea::-webkit-input-placeholder {
    color: transparent; }
  .form-label-group input:-ms-input-placeholder, .form-label-group textarea:-ms-input-placeholder {
    color: transparent; }
  .form-label-group input::-ms-input-placeholder, .form-label-group textarea::-ms-input-placeholder {
    color: transparent; }
  .form-label-group input::-moz-placeholder, .form-label-group textarea::-moz-placeholder {
    color: transparent; }
  .form-label-group input::placeholder, .form-label-group textarea::placeholder {
    color: transparent;
    opacity: 0; }
  .form-label-group input:not(:placeholder-shown), .form-label-group textarea:not(:placeholder-shown) {
    padding-top: calc(var(--input-padding-y) + var(--input-padding-y) * (2 / 3));
    padding-bottom: calc(var(--input-padding-y) / 3); }
  .form-label-group input:not(:placeholder-shown) ~ label, .form-label-group textarea:not(:placeholder-shown) ~ label {
    padding-top: calc(var(--input-padding-y) / 3);
    padding-bottom: calc(var(--input-padding-y) / 3);
    font-size: 12px;
    color: #999; }

/* Edge */
@supports (-ms-ime-align: auto) {
  .form-label-group > label {
    display: none; }
  .form-label-group input::-ms-input-placeholder, .form-label-group textarea::-ms-input-placeholder {
    color: #999; } }
/* IE */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .form-label-group > label {
    display: none; }
  .form-label-group input:-ms-input-placeholder, .form-label-group textarea:-ms-input-placeholder {
    color: #999; } }
.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); }

#jmobile {
  display: none;
  box-sizing: content-box;
  width: 40px;
  height: 34px;
  position: absolute;
  top: 1rem;
  right: 1.4rem;
  -webkit-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  z-index: 999; }
  #jmobile span {
    display: block;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    width: 100%;
    background-color: #222;
    height: 4px;
    position: absolute;
    top: 16px;
    left: 0px;
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
    -webkit-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
    border-radius: 6px; }
  #jmobile span:nth-child(1) {
    top: 5px; }
  #jmobile span:nth-child(3) {
    top: 27px; }
  #jmobile:hover {
    cursor: pointer; }

.shownav #jmobile span {
  background-color: #999; }
  .shownav #jmobile span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 2px;
    left: 10px; }
  .shownav #jmobile span:nth-child(2) {
    opacity: 0;
    width: 0; }
  .shownav #jmobile span:nth-child(3) {
    left: 10px;
    top: 31px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg); }
.shownav #head {
  right: 0rem;
  -webkit-transition: right 0.3s ease-in;
  -moz-transition: right 0.3s ease-in;
  transition: right 0.3s ease-in; }

i.update {
  display: none;
  position: absolute;
  top: 0px;
  right: -5px;
  background-color: firebrick;
  color: #fff;
  font-size: 11px;
  border-radius: 30px;
  min-width: 18px;
  padding: 0px 2px;
  text-align: center;
  font-style: normal;
  line-height: 1.5; }

i.update.show {
  display: block; }

#head li a {
  position: relative;
  color: #444;
  padding: 4px 15px;
  margin-left: 5px;
  border-radius: 6px;
  font-weight: 600; }
#head li:hover a, #head li.active a {
  background-color: var(--primary);
  color: #fff; }

#logo {
  display: block;
  margin: 1rem auto 1.5rem; }

.clientDetails {
  width: 100%;
  min-height: 90%;
  background-color: #f5f5f5;
  margin: 0px;
  padding-top: 0.5rem;
  padding-bottom: 1rem; }

.container.sm {
  max-width: 500px; }

.table .thead-dark th {
  border: 0px none;
  padding-left: 6px;
  padding-right: 6px; }
.table td input.w-3 {
  width: 3rem; }
.table td input.w-4 {
  width: 4rem; }
.table td input.w-5 {
  width: 5rem; }
.table td input.w-5 {
  width: 6rem; }
.table i.fa-sort:hover {
  cursor: pointer; }

form {
  padding-bottom: 70px; }
  form button[type="button"] {
    text-transform: uppercase;
    white-space: normal;
    max-width: 100%; }
  form button[type="button"] span {
    text-transform: none;
    font-size: 12px;
    display: block; }
  form .form-control {
    color: #222; }
  form fieldset {
    margin-bottom: 2rem; }
  form legend {
    margin: 1rem 0 2rem; }
  form .jSlider {
    margin-bottom: 1.2rem; }
    form .jSlider label {
      position: relative;
      margin-bottom: 0px;
      padding: 0 0 0 55px;
      color: var(--primary5);
      line-height: 1.3em;
      float: left;
      cursor: pointer; }
      form .jSlider label:first-child input {
        display: none; }
      form .jSlider label .slider {
        width: 46px;
        height: 26px;
        position: absolute;
        display: inline-block;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ed5565;
        -webkit-transition: .4s;
        transition: .4s;
        border-radius: 34px; }
        form .jSlider label .slider:before {
          position: absolute;
          content: "";
          height: 20px;
          width: 20px;
          left: 3px;
          bottom: 3px;
          background-color: white;
          -webkit-transition: .4s;
          transition: .4s;
          border-radius: 50%; }
      form .jSlider label input:checked + span.slider {
        background-color: #a0d468; }
        form .jSlider label input:checked + span.slider:before {
          -webkit-transform: translateX(20px);
          -ms-transform: translateX(20px);
          transform: translateX(20px); }
  form .jRadio label {
    position: relative;
    top: 3px;
    padding-left: 35px;
    margin-right: 12px;
    cursor: pointer; }
  form .jRadio input[type="radio"] {
    display: none; }
  form .jRadio label .rad {
    height: 26px;
    width: 26px;
    position: absolute;
    display: inline-block;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
    border: 3px solid #ccc; }
  form .jRadio input:hover + .rad {
    background-color: transparent; }
  form .jRadio input:checked + span.rad {
    background-color: #fff;
    border-color: #a0d468; }
  form .jRadio span.rad:before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    top: 3px;
    left: 3px;
    background-color: transparent;
    border-radius: 50%; }
  form .jRadio .input:checked + .rad:before {
    background-color: #a0d468; }
  form .data td {
    padding: 2px 0px; }
  form .data tr > td:first-child {
    padding-left: 6px; }
  form .data input.form-control[readonly] {
    background-color: transparent;
    border-color: transparent;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    display: inline-block; }
  form .data input.form-control[readonly]:hover {
    cursor: default; }
  form .data .jSlider, form .data input {
    padding-left: 6px;
    padding-right: 6px; }
  form .data .jSlider label {
    float: left;
    margin-top: 3px; }

i.tool {
  position: relative;
  font-size: 1rem; }
  i.tool span {
    display: none;
    position: absolute;
    left: 50%;
    top: 2.4rem;
    transform: translateX(-50%);
    width: 300px;
    font-size: 0.9rem;
    line-height: 1.4em;
    font-family: Arial-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
    font-weight: 300;
    padding: 8px 15px;
    text-align: left;
    background-color: #c7132e;
    color: #fff;
    z-index: 4; }
    i.tool span:before {
      content: "";
      position: absolute;
      left: 50%;
      top: -1rem;
      transform: translateX(-50%);
      border-top: 10px solid transparent;
      border-bottom: 10px solid #c7132e;
      border-left: 10px solid transparent;
      border-right: 10px solid transparent; }
  i.tool:hover {
    cursor: pointer; }
    i.tool:hover span {
      display: block; }

#sysMessage {
  margin-bottom: 0px;
  position: fixed;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%); }
  #sysMessage i {
    position: absolute;
    right: -0.5rem;
    top: -0.5rem;
    cursor: pointer; }

.invalid-feedback.message-visible {
  display: block !important; }

[aria-hidden="true"] {
  display: none !important; }

/*override bootstrap (shows all invalid-feedback messages if  1 invalid rule*/
pre {
  background-color: #222;
  color: #fff;
  padding: 1rem 1.5rem;
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word; }

.card {
  border: 0px none;
  border-radius: var(--radius);
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.6);
  overflow: hidden; }
  .card:hover {
    cursor: pointer;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.9); }
  .card .btn {
    margin-top: 0.2rem; }
  .card .card-header {
    background-color: var(--primary3);
    border-radius: 0px;
    padding: 0.7rem 0px;
    border-bottom: 0px none; }
  .card .card-header h4 {
    color: #fff;
    padding: 0.3rem 0; }
  .card .card-body {
    padding: 1rem 1rem; }
  .card .jSlider label {
    vertical-align: text-top; }
  .card .form-label-group {
    margin-bottom: 0.4rem; }
  .card ul {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 320px;
    padding-left: 2.4rem; }
  .card ul .fa {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); }
  .card ul li {
    position: relative;
    margin: 0;
    font-size: 1rem;
    line-height: 1.2rem;
    padding: 0.5rem 0; }
  .card ul li.b {
    border-top: 1px solid #666; }
  .card ul .fa-info-circle {
    color: #666;
    left: auto;
    right: 10px; }
  .card .fa.ico {
    left: -2.4rem;
    font-size: 1.5rem;
    width: 34px;
    text-align: center; }
  .card li .fa-heart {
    color: #e7376d; }
  .card li .fa-first-aid, .card .card li .fa-user-md {
    color: #079b3d; }
  .card li .fa-user-tie {
    color: #c77329; }
  .card li .fa-car {
    color: #c77329; }

.icons a {
  display: block;
  padding: 1rem;
  border: 1px solid #fff; }
  .icons a i.fas {
    font-size: 2.6rem;
    width: 5rem;
    height: 5rem;
    line-height: 5rem;
    border-radius: 100px;
    text-align: center;
    color: #fff;
    background: #c50b34;
    background: linear-gradient(45deg, #7b0721 0%, #c50b34 100%); }
  .icons a i.update {
    top: -5px;
    right: -21px; }
  .icons a h4 {
    font-size: 0.9rem;
    font-weight: 600;
    padding-top: 0.3rem;
    color: #222; }
    .icons a h4 span {
      position: relative; }
  .icons a:hover {
    text-decoration: none;
    background-color: #e5e5e5; }

#pwaInstallPopup {
  position: static;
  bottom: 0px;
  left: 0px;
  width: 100%;
  background-color: #333;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.6); }
  #pwaInstallPopup > .row {
    max-width: 1200px; }
  #pwaInstallPopup a, #pwaInstallPopup p, #pwaInstallPopup h4 {
    color: #fff; }
  #pwaInstallPopup a {
    text-decoration: underline; }
  #pwaInstallPopup .relative {
    padding-left: 100px;
    padding-right: 3rem; }
    #pwaInstallPopup .relative img.leftButton {
      position: absolute;
      left: 15px;
      top: 50%;
      transform: translateY(-50%); }
  #pwaInstallPopup.fix {
    position: fixed; }
  #pwaInstallPopup .fa-times-circle {
    color: #fff;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem; }
  #pwaInstallPopup .inlineBtn {
    display: inline-block; }

#pushControls {
  position: fixed;
  bottom: 2rem;
  right: 2rem; }
  #pushControls button {
    display: none; }
  #pushControls:hover button {
    display: block; }
  #pushControls #bell {
    font-size: 3rem;
    color: #e5e5e5; }
    #pushControls #bell.subscribed {
      color: #c50b34; }

@media (max-width: 1199px) {
  html {
    font-size: 15px; }

  .hidden-lg {
    display: none; } }
@media (max-width: 991.98px) {
  html {
    font-size: 14px; }

  .hidden-md {
    display: none; }

  #jmobile {
    display: block !important; }

  #head {
    width: 100%;
    height: auto;
    min-height: 100vh;
    text-align: center;
    z-index: 998;
    background-color: #222;
    transform: translate(0px, 0px);
    position: absolute;
    top: 0px;
    right: -200%;
    float: left;
    -webkit-transition: right 0.3s;
    -moz-transition: right 0.3s;
    transition: right 0.3s; }
    #head #nav {
      position: absolute;
      top: 4rem;
      left: 50%;
      transform: translateX(-50%);
      width: 400px;
      max-width: 100%; }
      #head #nav li {
        clear: both;
        text-align: left;
        margin-left: auto;
        margin-right: auto;
        width: 100%; }
        #head #nav li a {
          float: left;
          width: 100%;
          line-height: 1.3em;
          font-size: 1.2rem;
          padding: 0.4em 0px;
          color: #fff; }
      #head #nav > li {
        border-top: 1px solid #fff; }
        #head #nav > li ul {
          display: none; }
        #head #nav > li:first-child {
          text-indent: 3000px;
          background: url("../img/afi-esca-logo-bw.png") no-repeat center;
          padding: 0px;
          margin-bottom: 1rem;
          border-top: 0px none; }
          #head #nav > li:first-child a {
            display: block;
            padding: 0px;
            height: 90px; }
      #head #nav a:hover, #head #nav .nav-item.active a {
        background-color: transparent; }
      #head #nav:hover li {
        opacity: 0.6;
        filter: alpha(opacity=60); }
      #head #nav li:hover {
        opacity: 1;
        filter: alpha(opacity=100); }
    #head #g-page-surround .intro {
      min-height: 400px; }

  #logo {
    margin: 0.8rem auto; }

  #pwaInstallPopup h4 {
    font-size: 1.1rem; }
  #pwaInstallPopup p {
    font-size: 0.9rem; }
  #pwaInstallPopup .relative {
    padding-left: 70px;
    padding-bottom: 8px; }
    #pwaInstallPopup .relative img.leftButton {
      width: 2.8rem;
      left: 10px; } }
@media (max-width: 767.98px) {
  html {
    font-size: 13px; }

  .hidden-sm {
    display: none; }

  .header {
    margin: 0.6rem 0; }

  h1 {
    font-size: 1.8rem; }

  .lead {
    font-size: 1.1rem; } }
@media (max-width: 575.98px) {
  .hidden-xs {
    display: none; }

  .container {
    padding-left: 10px;
    padding-right: 10px; }

  table {
    margin-left: -10px;
    margin-right: -10px;
    width: calc(100% + 20px) !important; } }
