* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  text-decoration: none;
}

html {
  font-family: "Merriweather Sans", sans-serif;
  font-size: 100%;
}

#cms-es-login {
  max-width: 50%;
  margin: 0 auto;
}

div.loginBtn,
div#userBtn {
  cursor: pointer;
  width: 160px;
  padding: 0;
  text-align: center;
  background: #a20032;
  border: 1px solid #a20032;
  vertical-align: center;
  color: #fff;
  border-radius: 3px;
  transition: 0.3s all;
}

div.loginBtn svg.userIcon,
div#userBtn svg.userIcon {
  fill: #fff;
}

div.loginBtn span,
div#userBtn span {
  display: inline-block;
  position: relative;
  top: -6px;
}

div.loginBtn:hover,
div#userBtn:hover {
  border: 1px solid #a20032;
  background: #bb003b;
}

#loginContainer,
#loggedInContainer {
  width: 430px;
  margin: 5vh auto 0;
  padding: 2em;
  box-shadow: 0 0 1px rgba(255, 0, 0, 0.2);
  position: absolute;
  background: #fff;
  top: 1em;
  right: 1em;
  z-index: 9995;
}

hr {
  border-top: 1px solid #a20032;
}

.login-username,
.login-password {
  display: block;
  font-size: 1em;
  line-height: 1.5em;
  width: 100%;
  padding: 3px 2px;
  border: 1px solid #a20032;
}

.login-own .inputLabel,
.login-via-ghiseul .inputLabel {
  display: block;
  margin-top: 1em;
  margin-bottom: 5px;
}

::placeholder {
  color: #a75d5d;
}

.account-quick-action {
  float: right;
  padding: 0px;
  font-size: 0.8em;
  margin-top: 0.5em;
  margin-left: 10px;
  text-decoration: none;
  color: #a20032;
}

button.submitLogin,
div#cms-es-login ul a,
div#cms-es-login ul label,
.white-on-red-button {
  width: 100%;
  padding: 8px;
  background: #a20032;
  border: 1px solid #a20032;
  border-radius: 3px;
  margin: 0.5em 0 0;
  color: #fff;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s all;
}

button.submitLogin:hover,
div#cms-es-login ul a:hover,
div#cms-es-login ul label:hover,
.white-on-red-button:hover {
  background: #ffffff;
  color: #a20032;
  border: 1px solid #a20032;
}

/* auth */
div#cms-es-login ul a,
div#cms-es-login ul label,
.white-on-red-button {
  display: block;
  width: 100%;
}

/* userBtn */
div#userBtn {
  padding: 5px;
  width: 270px;
}

/* dashboard design */
#cms-es-dashboard table {
  border: 1px solid #c1c1c1;
  border-spacing: 0px;
  border-collapse: collapse;
}

#cms-es-dashboard table thead {
  font-weight: bold;
}

#cms-es-dashboard table tr td {
  border: 1px solid #c1c1c1;
  padding: 5px;
}

#cms-es-dashboard table tbody tr:hover {
  cursor: pointer;
  background-color: #a20032 !important;
  color: #ffffff;
}

#cms-es-dashboard table tbody tr td {
  background-color: inherit !important;
}

.doc_canceled {
  color: #9e9e9e;
}

.doc_draft {
  font-style: italic;
}

/* custom alert */
.js-alert {
}

.alert-overlay {
  /* make sure it appear behind the dialog box but above everything else */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9998;

  /* set it to fill the whil screen */
  width: 100%;
  height: 100%;

  /* set overlay transparency */
  background: rgba(0, 0, 0, 0.6);
}


.alert-box {
  /* make sure it has the highest z-index */
  position: absolute;
  z-index: 9999;

  top: 60%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);

  /* styling of the dialog box*/
  background: #fff;
  min-width: 200px;
  min-height: 50px;
  max-width: 300px;
  padding: 15px 20px;
}

.alert-content {
  /* style the content */
  font-size: 15px;
  color: #333;
  margin: 10px 0 20px 0;
  text-align: center;
}

.alert-footer button {
  display: block;
  background-color: #a20032;
  border: 0 none;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  padding: 10px 50px;

  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  cursor: pointer;


  font-weight: bold;
  font-size: 11px;
  margin: 10px;

  margin: 0 auto;
  text-decoration: none;
}

.alert-footer button:hover {
  background-color: black;
}

.login-close-button {
  color: #a20032;
  cursor: pointer;
  float: right;
  margin-bottom: 1em;
  font-weight: bold;
}


@media screen and (max-width: 990px) {
  #cms-es-dashboard {
    margin-left: -15px !important;
  }

  #cms-es-dashboard table {
    font-size: .7em !important;
  }
}

.login-own,
.login-via-ghiseul {
  clear: both;
}

.agree-message {
  clear: both;
  padding-top: 15px;
}

.auth-kind-chooser {
  padding: 25px;
}

.back-button {
  margin-bottom: 5px;
  font-size: 1em;
  text-decoration: none;
  color: #a20032;
  cursor: pointer;
}

.back-button-arrow {
  color: #a20032;
  cursor: pointer;
  margin-bottom: 2em;
  font-weight: 900;
}

.logged-in-container-mobile .logout-button {
  color:black;
  cursor: pointer;
}

.login-button {
  margin-bottom: 10px;
}