﻿.login-logo {
    padding: 8% 0 0;
    text-align: center;
}
.login-page {
  box-sizing: border-box;
  width: 100%;
  /* 360px card + 16px gutter on each side */
  max-width: 392px;
  padding: 0 16px;
  margin: auto;
}
.form {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  width: 100%;
  max-width: 360px;
  margin: 0 auto 25px;
  padding: 45px;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}
.input-text {
  font-family: Verdana, Arial, Helvetica, Sans-Serif;
  outline: 0;
  background: #f2f2f2;
  width: 100%;
  border: 0;
  border-radius: 4px;
  margin: 0 0 15px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 10pt;
}
.input-button {
  font-family: Verdana, Arial, Helvetica, Sans-Serif;
  text-transform: uppercase;
  outline: 0;
  background: #007F0E;
  width: 100%;
  border: 0;
  border-radius: 4px;
  padding: 15px;
  color: #FFFFFF;
  font-size: 11pt;
  -webkit-transition: all 0.3 ease;
  transition: all 0.3 ease;
  cursor: pointer;
}
.input-button:hover,.input-button:active,.input-button:focus {
  background: #43A047;
}
.form .message {
  margin: 15px 0 0;
  color: #b3b3b3;
  font-size: 12px;
}
.form .message a {
  color: #4CAF50;
  text-decoration: none;
}
.container {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin: 0 auto;
}
.container:before, .container:after {
  content: "";
  display: block;
  clear: both;
}
.container .info {
  margin: 50px auto;
  text-align: center;
}
.container .info h1 {
  margin: 0 0 15px;
  padding: 0;
  font-size: 36px;
  font-weight: 300;
  color: #1a1a1a;
}
.container .info span {
  color: #4d4d4d;
  font-size: 12px;
}
.container .info span a {
  color: #000000;
  text-decoration: none;
}
.container .info span .fa {
  color: #EF3B3A;
}
.logo { display:block;margin-left:auto;margin-right:auto;max-width:100%;height:auto; }

.error {
    margin: 0 0 2em 0;
    padding:0.5em;
    font-size: 10pt;
    color:#ffffff;
    background-color:#e05353;
    border-radius: 4px;
    text-align:left;

}
.error p { padding-top: 0; margin-top:0; }
.powered-by { color: #eaeaea; font-size: 8pt; font-style:italic; text-align:center; }
.mpe p { text-align:left; padding-top: 0; margin-top:0; }

/* Store / district / company selection popups.
   The AjaxControlToolkit ModalPopupExtender positions these with inline
   absolute left/top values measured against the document, which drifts as
   soon as the page scrolls or the viewport is resized (or a mobile keyboard
   opens). Pin them to the centre of the viewport instead. */
.mpe {
    box-sizing: border-box;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0 !important;
    width: calc(100% - 32px);
    max-width: 360px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    border-radius: 4px;
}

.modal-background {
    background-color: #B5B5B5;
    opacity: 0.8;
    -moz-opacity: 0.8;
    filter: alpha(opacity=80);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.modal-popup {
    background-color: #B5B5B5;
    filter: alpha(opacity=240);
}

body {
  background: #2c4d84; /* fallback for old browsers */
  background: -webkit-linear-gradient(right, #2c4d84, #1B3251);
  background: -moz-linear-gradient(right, #2c4d84, #1B3251);
  background: -o-linear-gradient(right, #2c4d84, #1B3251);
  background: linear-gradient(to left, #2c4d84, #1B3251);
  background-attachment: fixed;
  font-family: Verdana, Arial, Helvetica, Sans-Serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Tablets and phones: keep iOS from zooming in when a field takes focus
   (it does that for any control under 16px). */
@media (max-width: 1024px) {
    .input-text, .input-button {
        font-size: 16px;
    }
}

/* Phones */
@media (max-width: 480px) {
    .login-logo {
        padding: 24px 0 0;
    }

    .form, .mpe {
        padding: 24px;
    }
}

/* Short viewports (phone in landscape) */
@media (max-height: 480px) {
    .login-logo {
        padding: 12px 0 0;
    }
}
