﻿body {
  margin: 0;
}

.loginVerticalAlign {
  padding-top: 10px;
  position: relative;
  width: 100%;
  /*top: 50%;*/
  /*transform: translateY(-50%);*/
  top: calc(50% - 370px);
  top: -webkit-calc(50% - 370px);
  top: -moz-calc(50% - 370px);
  top: -o-calc(50% - 370px);
  top: -ms-calc(50% - 370px);
}

.loginMainBox {
  background-color: white;
  padding: 60px;
  width: 450px;
  text-align: center;
  margin: auto;
  position: relative;
}

.loginMainBox > img {
  padding-bottom: 45px;
}

.loginMainBox > div > div > table,
.loginMainBox > table {
  margin: auto;
  text-align: left;
  border-collapse: collapse;
  width: 100%;
}

.loginFooterBox {
  width: 400px;
  text-align: center;
  margin: auto;
  position: relative;
  color: white;
}

.loginFooterBox > div > img {
  position: relative;
  left: 0;
}

.loginFooterBox > div {
  padding-top: 20px;
}

.loginFooterBox > div > table {
  width: 250px;
  margin: auto;
}

.loginFooterBox > * span {
  cursor: pointer;
}

.loginTableBorder > input {
  outline: none;
  border: 0px solid white;
  /*thanks iOS...*/
  padding: 0;
}

.loginMainBox > div > div > table > tbody > tr > td,
.loginMainBox > table > tbody > tr > td {
  padding: 10px 5px 5px 5px;
}

.loginTableBorder {
  border-bottom: 2px solid gray;
}

.loginForgotPasswordLink {
  color: #1F3D7B;
  cursor: pointer;
}

.loginButton {
  background-color: #156ba1;
  color: white;
  /*http://demo.dsheiko.com/ccss/*/
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  padding: 15px 150px 15px 150px;
  outline: none;
  border: 0;
  cursor: pointer;
  font-size: large;
  max-width: 350px;
}

.loginButtonSDS {
  background-color: #00A4DC;
  color: white;
  /*http://demo.dsheiko.com/ccss/*/
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  padding: 15px 150px 15px 150px;
  outline: none;
  border: 0;
  cursor: pointer;
  font-size: large;
  max-width: 350px;
}

@media only screen and (max-height: 830px) {
  .loginVerticalAlign {
    top: 0px;
  }
}
@media only screen and (max-width: 570px) {
  .loginMainBox {
    width: calc(100% - 120px);
    width: -webkit-calc(100% - 120px);
    width: -moz-calc(100% - 120px);
    width: -o-calc(100% - 120px);
    width: -ms-calc(100% - 120px);
  }

  .loginMainBox > div > div > table > tbody > tr > td,
.loginMainBox > table > tbody > tr > td {
    table-layout: fixed;
  }

  .loginMainBox > div > div > table > tbody > tr > td > tbody > tr > td:first-child,
.loginMainBox > table > tbody > tr > td > tbody > tr > td:first-child {
    width: 40px;
  }

  .loginButton {
    width: 100%;
    padding: 15px 0px;
  }

  .loginButtonSDS {
    width: 100%;
    padding: 15px 0px;
  }

  /*.loginTableBorder
  {
      width:53px;
  }*/
}
@media only screen and (max-width: 400px) {
  .loginMainBox {
    padding: 60px 20px;
    width: calc(100% - 40px);
    width: -webkit-calc(100% - 40px);
    width: -moz-calc(100% - 40px);
    width: -o-calc(100% - 40px);
    width: -ms-calc(100% - 40px);
  }

  .loginFooterBox {
    width: 100%;
  }

  .loginFooterBox > div > img {
    width: 100%;
  }
}
.bahrCodeLegal {
  position: fixed;
  right: 10px;
  bottom: 10px;
  color: #5090B8;
}

/*https://css-tricks.com/snippets/css/media-queries-for-standard-devices/*/
/*https://www.w3schools.com/css/css_rwd_mediaqueries.asp*/
@media only screen and (max-width: 1160px) {
  .bahrCodeLegal {
    position: relative;
  }
}
@media only screen and (max-width: 1430px) and (max-height: 590px) {
  .bahrCodeLegal {
    position: relative;
  }
}
#reloadPasswordContainer {
  display: none;
  width: 400px;
  background-color: white;
  z-index: 10;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid black;
  text-align: center;
}

#contactUsContainer {
  display: none;
  width: 700px;
  background-color: white;
  z-index: 10;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #777777;
  text-align: left;
  -moz-border-radius: 5px;
  box-shadow: 1px 2px 5px 2px #383838;
  -moz-box-shadow: 1px 2px 5px 2px #383838;
  -webkit-box-shadow: 1px 2px 5px 2px #383838;
}

#contactUsContainer > div > div {
  font-size: x-large;
  padding: 30px 0 0 30px;
  text-align: left;
}

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

.contactUsTable > tbody > tr > th {
  font-size: large;
  color: gray;
  font-weight: normal;
  padding-bottom: 5px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.contactUsTable > tbody > tr > td {
  padding-top: 10px;
  padding-bottom: 10px;
}

.closeButton {
  cursor: pointer;
  padding: 5px;
  position: absolute;
  top: 0;
  right: 0;
}

.termLinks:link {
  color: white;
}

.termLinks:visited {
  color: white;
}

.loginWarning {
  color: white;
  position: fixed;
  bottom: 60px;
  text-align: center;
  width: 50%;
  margin-left: 25%;
  font-size: large;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.6);
  padding: 5px 20px;
}
