/*
Content
1. Loginpage Main Styling
2. Header Styling
3. Index Body Styling
4. Login Boxing Styling
5. From Styling
6. Mobile Re-Styling
*/

/* 1. Global Body Styling */

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-image: url(/templates/sdhdportal/images/headbg.svg);
  position: absolute;
  left: 0%;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-color: #0f9aee;
  z-index: -1;
  background-size: cover;
}

.MainGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
  /*"header header header"*/
  "BodyGrid BodyGrid BodyGrid";
}

/* 2. Header Styling */

.header {
  grid-area: header;
  background-color: #0f9aee;
  height: 22px;
  margin-right: 40px;
  padding: 10px 30px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-areas:
  "block1 block1 . . . block2";
}

.block1 {
  grid-area: block1;
  font-weight: bold;
  margin: auto 0;
}

.block2 {
  grid-area: block2;
  margin: auto 0;
  text-align: right;
}

.block2 a {
  text-decoration: none;
  color: black;
}

.block2 i {
  margin-left: 10px;
}

/* 3. Index Body Styling */

.BodyGrid {
  grid-area: BodyGrid;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-areas:
  ". . . . . ."
  "LoginBox LoginBox LoginBox LoginBox LoginBox LoginBox";
}

/* 4. Login Boxing Styling */

.LoginBox {
  margin: auto auto;
  margin-top: calc(100vh/100*13);
  grid-area: LoginBox;
}

.LoginHeader {
  text-align: center;
  padding: 12px;
  background-color: #eee;
  width: 390px;
  min-height: 45px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.LoginBody {
  padding: 12px;
  background-color: #fff;
  min-height: 180px;
  padding-left: 35px;
}

.LoginBody h2 {
  font-family: "Open Sans", Verdana, Tahoma, serif;
  color: #333;
  font-weight: normal;
  font-size: 30px;
  text-transform: uppercase;
}
.LoginBody p>img {
    margin-left: 115px;
    margin-top: 15px;
}

.LoginFooter a {
  text-align: center;
  align: center;
  text-decoration: none;
  color: #adadad;
  margin-top: 0px;
}

.LoginFooter {
  text-align: center;
  font-size: 12px;
  padding: 12px;
  min-height: 16px;
  background-color: #eee;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* 5. From Styling */

.form-control {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

.ui-button, .button {
  padding: 8px 0;
  border-radius: 10px;
  background-color: #65d692;
  font-size: 18px;
  color: #ffffff;
  border: 0;
  margin-top: -14px;
}
.ui-button, .cancel {
  padding: 8px 0;
  border-radius: 10px;
  background-color: #DFDEDD;
  font-size: 18px;
  color: #777;
  border: 0;
  margin-top: -14px;
  text-align: center;
}

.footerholder {
    bottom: 0;
    position: fixed;
    text-align: center;
    width: 100%;
}

.footer {
  width: 100%;
  position: absolute;
  left: 0px;
  bottom: 12px;
  text-align: center;
}
/* End */

/* 6. Mobile Re-Styling */

@media screen and (max-height: 630px) {
  .MainGrid {
    padding-bottom: 50px;
  }
}

@media screen and (max-width: 414px) {
  .MainGrid {
    padding: 0;
    padding-top: 50px
  }
  .LoginBox {
    margin: auto auto;
  }
  .LoginHeader {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .LoginFooter {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  }
  .footer {
	  bottom: 12px;
  }
}
