.buildingInfo > div:nth-child(2) {
  width: 70%;
}

.buildingInfo div:nth-child(2) p, .buildingInfo div:nth-child(2) form > div {
  display: flex;
  align-items: center;
}

.buildingInfo div:nth-child(2) p > label, .buildingInfo div:nth-child(2) form > div > label {
  min-width: 10em;
  display: inline-block;
}

.buildingInfo div:nth-child(2) div #id_captcha {
  display: inline-block;
  width: 50%;
}

.buildingInfo input[type=password], .buildingInfo select {
  border: solid 1px var(--mainColor);
  border-radius: 0;
  width: 50%;
  background: #FFF;
  color: var(--mainColor);
  outline: none;
  padding: 0.2em 0.5em;
  line-height: 1.2rem;
  height: 2em;
}

input[type=checkbox] {
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.buildingInfo button {
  border: none;
  border-radius: 0;
  background: var(--textColor);
  color: #FFF;
  padding: 0.5em 3em;
}

#building .decoration {
  top: 260px;
}

.endLine > div {
  width: 50%;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2em;
}

.keeplogin {
  display: flex;
  align-items: center;
  height: 1.6em;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: none;
  border: solid 1px var(--mainColor);
}

/* On mouse-over, add a grey background color */
.keeplogin:hover input ~ .checkmark {
  background-color: #ccc;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.keeplogin input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.keeplogin .checkmark:after {
  left: 6px;
  top: -1px;
  width: 8px;
  height: 18px;
  border: solid var(--textColor);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

@media screen and (max-width: 1200px) {
  .buildingBanners > div h1 {
    font-size: 1.8rem;
  }
  .buildingBanners > div {
    margin: 1em;
  }
  .articles article .caseImg  {
    width: 392px;
    height: 206.5px;
  }
  .buildingInfo > .right, .lectureInfo > .right {
    width: 392px;
  }
}

@media screen and (max-width: 850px) {
  .buildingBanners > div h1 {
    font-size: 1.5rem;
  }
  .buildingBanners > div {
    margin: 0.8rem;
  }
  .buildingBanners > div h2 {
    margin-top: 0.5rem;
    font-size: 0.8rem;
  }
  .articles article .caseImg  {
    width: 313.6px;
    height: 162.5px;
  }
  .buildingInfo > .right, .lectureInfo > .right {
    width: 313.6px;
  }
}

@media screen and (max-width: 750px){
  .buildingBanners > div h1 {
    font-size: 3rem;
  }
  .buildingBanners > div h2 {
    font-size: 2rem;
  }  
  .buildingBanners img {
    content: url('../../main/img/bn/bn04-1.jpg');
  }
}

@media screen and (max-width: 500px) {
  .buildingInfo .left {
    margin-top: 0em  !important;
    margin-right: 5em;
  }
  .buildingInfo {
    flex-direction: column;
  }
  .buildingInfo .right {
    width: 1px;
  }
  .articles article .caseImg {
    width: 340px;
    height: 250px;
  }
  article .info {
    width: 340px;
  }
  
}

.building svg {
  width: 90%;
  height: auto;
  margin: 8em auto;
  display: block;
}

input[type=checkbox] {
 display: none !important;
}

@media screen and (max-width: 1000px) {
  .buildingInfo > div:nth-child(2) {
    width: 80%;
  }
}

@media screen and (max-width: 800px) {
  .buildingInfo > div:nth-child(2) {
    width: 90%;
  }
}

@media screen and (max-width: 500px) {
  .buildingInfo > div:nth-child(2), .endLine > div {
    width: 100%;
  }
  .decoration, .captcha label, .endLine > label {
    display: none !important;
  }
  .buildingInfo div:nth-child(2) p, .buildingInfo div:nth-child(2) form > div {
    justify-content: space-between;
  }
}

/* @media screen and (max-width: 500px) {
  .buildingInfo div:nth-child(2) form > div > label {
    display: none;
  }
  
  .endLine > div{
    flex-direction: column;
  }
  
  .keeplogin {
    margin-bottom: 1em;
  }
  .buildingInfo {
    flex-direction:unset !important; 
  }
} */

