/* ===========================
   Global Styles
   =========================== */
body {
  font-family: Arial, Geneva, Helvetica, sans-serif;
}

/* Global font enforcement to prevent inheritance overrides */
body, body * {
  font-family: Arial, Geneva, Helvetica, sans-serif !important;
}

/* Exceptions for icon fonts - explicitly define icon font families for compatibility */
.glyphicon {
  font-family: 'Glyphicons Halflings' !important;
}

.fa {
  font-family: FontAwesome !important;
}

/* ===========================
   Canvas and Signature
   =========================== */
canvas#signatureCanvas {
  width: 100%;
}

/* ===========================
   Footer Styles
   =========================== */
footer.main-footer {
  border-top: 1px solid #fff;
  position: absolute !important;
}

.footer {
  margin: auto;
  text-align: center;
  width: 100%;
  padding: 30px;
}

/* ===========================
   Navigation
   =========================== */
.nav li {
  box-shadow: 0px 2px 4px 1px;
}

/* ===========================
   Utility Classes
   =========================== */
.hideThis {
  display: none;
}

ul {
  list-style: none !important;
}

/* ===========================
   Content Sections
   =========================== */
.main-content {
  min-height: 240px;
  background: #FFF;
  padding: 20px;
  border-radius: 5px;
  word-wrap: break-word;
  box-shadow: 0px 1px 9px 3px;
}

.content aside ul li {
  background: #408B74;
  padding: 4px;
  border-radius: 5px;
  margin-bottom: 6px;
}

.content aside ul li a {
  color: #000;
  font-weight: bold;
}

.content aside ul li a:hover {
  background: #2F9D3D;
}

.activeLink a {
  color: #FFF !important;
  text-transform: uppercase;
}

.resources {
  margin-top: 2%;
}

/* ===========================
   Text Alignment
   =========================== */
div.a {
  text-align: center;
}

div.b {
  text-align: left;
}

div.c {
  text-align: right;
}

div.d {
  text-align: justify;
}

/* ===========================
   Forms
   =========================== */
.panel.panel-default.loginFormWrapper {
  margin: 50% 0;
}

/* ===========================
   Responsive Media Queries
   =========================== */

/* Tablet and Small Desktop Screens */
@media screen and (max-width: 767px) {
  ul.nav.navbar-right.top-nav li a {
    padding-left: 8px;
    padding-right: 8px;
  }

  .nav>li>a {
    position: relative;
    display: block;
    padding: 10px 10px;
  }
}

/* Smartphones and Portrait Phones */
@media (min-width:320px) {
  footer.main-footer {
    border-top: 1px solid #fff;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
    padding-top: 10px;
    margin-top: 30px;
  }
  
  .panel.panel-default.loginFormWrapper {
    margin: 20% 0;
  }

  body {
    margin-top: 30px;
    background-color: #222;
  }
}

/* Landscape Orientation */
@media (min-width:481px) and (orientation: landscape) {
  .panel.panel-default.loginFormWrapper {
    margin: 0% 0 !important;
  }

  footer.main-footer {
    border-top: 1px solid #fff;
    position: relative !important;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
    padding-top: 10px;
    margin-top: 30px;
  }

  body {
    margin-top: 30px;
    background-color: #222;
  }
}