#main-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: row;
}
.left { flex:55%; display: flex; 
  background-image: url(/img/background1.svg);
  background-repeat: no-repeat;
  background-size: 100% 100%;}

.left h1 {align-self: end; font-size: 3.5em; margin:.5em;}

.right {flex: 45%; margin-left: auto; display: flex; background: #fff; border-left: 1px solid #ccc}

.panel {
  width: 60%;
  margin: 7em auto 0 auto;
  text-align: center;
  background-color: transparent;
  box-shadow: none;
}
.Access .inputlabel,
.Profile .inputlabel {
  margin: 0;
}
.Access .row,
.Profile .row {
  margin: -0.5em;
}
.Access .row > *,
.Profile .row > * {
  padding: 0.5em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}
.panel .info {
  margin-top: 1em;
  background-color: #fff6a9;
  color: #000;
  padding: 1em;
  line-height: 1;
  font-size: 0.85em;
}
#loginDialog,
#remindDialog {
  margin: auto;
  max-width: 600px;
}
@media screen and (max-width: 800px) {
  #main-wrapper {
    flex-direction: column-reverse;
  }
  .left, .right {
    flex: 100% !important;
    width: 100%;
  }
  #main-wrapper {
    background-image: url(/img/background1.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
  .left {background: none; display: flex; justify-content: center;}
  .left h1 {text-align: center; font-size: 2em; margin:0 0 2em 0;}
  .right h1 {text-align: center; font-size: 2em;}
  .right {background-color: transparent; padding-top: 50px;}
  .panel {width: 100%; max-width: 500px;margin: 2em auto 0 auto;}
  .panel .form-control {max-width: 90%}
}
