/**
* Building
**/

.building {
  text-align: center;
  max-width: 100%;
  overflow: auto;
}

.building .building-content {
  position: relative;
  text-align: left;
  display: inline-block;
  width: 1100px;
}

/**
* Top left
**/

.building .top .left {
  width: 25%;
  display: inline-block;
  background: #fff;
  padding: 0 10px;
  margin-right: 1%;
  box-sizing: border-box;
  vertical-align: top;
}

.building .top .left-content {
  width: 100%;
  border: 1px solid #ddd;
  overflow: hidden;
}

.building .top .left .top-left-top {
  height: 240px;
  width: 100%;
  position: relative;
}

.building .top .left .top-left-bottom {
  height: 50%;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

/**
* Button to toggle layout
**/

.building .building-layout-toggle {
  background: #EBEBEB;
  height: 26px;
  margin: 15px 0 10px;
  display: inline-block;
  text-align: left;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 20px;
  margin-top: 17px;
}

.building .building-layout-toggle .layout-option {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 500;
  color: #888;
  font-size: 14px;
  line-height: 14px;
}

.building .building-layout-toggle .layout-option.active {
  background: #fff;
}

/**
* Top right
**/

.building .top .right {
  width: 74%;
  display: inline-block;
  background: #eee;
}

.building .top .right .top-right-top {
  height: 480px;
  width: 100%;
  background: #aaa;
  position: relative;
}


.building .top .right .top-right-top-glossary {
  height: 440px;
  width: 100%;
  background: #aaa;
  position: relative;
}

.building .top .right .top-right-top-discussion {
  border-top: 2px solid #aaa;
  background: #eee;
  margin-top: 12px;
  min-height: 350px;
  height: 100%;
  width: 100%;
  position: relative;
}

.building .top .right .top-right-bottom {
  height: auto;
  width: 100%;
  background: #eee;
  bottom: 0;
  top: 500px;
}

/**
* Bottom
**/

.building .bottom {
  width: 100%;
}

.building .bottom .label {
  font-size: 1em;
  margin-top: 40px;
  font-family: 'Helvetica Neue', sans-serif;
  margin-bottom: 10px;
  letter-spacing: 0px;
  color: #888;
  font-weight: 500;
  letter-spacing: .25px;
}

/**
* Building mobile styles
**/

@media(max-width: 1150px) {
  .building {
    position: relative;
    z-index: 2;
  }

  .building .building-content {
    width: 100%;
    padding-bottom: 70px;
  }

  .building .top .left {
    display: none;
  }

  .building .top .right {
    width: 100%;
    background: #fff;
  }

  .building .top .right .top-right-bottom {
    width: 100%;
    background: #fff;
  }
}

@media(max-width: 900px) {
  .building .top .right .top-right-top {
    height: 400px;
  }
}

@media(max-width: 750px) {
  .building .top .right .top-right-top {
    height: 300px;
  }
}

@media(max-width: 600px) {
  .building .top .right .top-right-top {
    height: 210px;
  }
}