/* Sizing constants (keep in sync if you change width) */
:root { } /* harmless in BS3; ignored by very old browsers */

/* Drawer: 600px tall, centered vertically, slides from right */
.drawer{
  position: fixed;
  top: 50%;
  right: -320px;          /* -(drawer width - tab width) => -(420-48) */
  width: 320px;
  height: 600px;
  transform: translateY(-50%);
  background: #fff;
  z-index: 1060;
  border: 1px solid #e5e5e5;
  box-shadow: -6px 0 18px rgba(0,0,0,.25);
  transition: right .35s ease;
}
.drawer.open{ right: 0; }

.drawer-header{
	padding: 12px 16px;
  display: flex;
  align-content: center;
  justify-content: space-between;
  padding-bottom:0;
}
.drawer-header #drawerTitle{
	margin:0;
	font-size:20px;
}
.drawer-body{
  padding: 16px;
  height: calc(600px - 54px); /* body height minus header */
  overflow-y: auto;
}
.drawer-body #LoginFormPlaceholder{
	padding:20px;
}
.loginSub .toggleForgotPassword{
	display:block;
}
.loginContainer .form-control{
height: 60px;
}
.loginBtn{
  width: 100%;
  padding: 15px;
  font-size: 2rem;
  font-weight: bolder;
  text-transform: uppercase;
  margin-bottom: 10px;
}
/* Attached tab (sticks out 48px). Because it's inside .drawer, it slides with it */
.drawer-tab{
  position: absolute;
  top: 50%;
  left: -48px;            /* visible when drawer is closed */
  transform: translateY(-50%);
  width: 48px;
  padding: 10px 4px;
  background: #337ab7;   /* BS3 primary */
  color: #fff;
  border: 0;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  cursor: pointer;
  height: 200px;
  font-weight:bold;
}
.drawer-tab:focus{ outline: none; }
.drawer-tab span{
display: inline-block;
  transform: rotate(-90deg);
  transform-origin: center;
  letter-spacing: .5px;
  font-size: 24px;
  height: 50px;
  width: 114px;
  margin-left: -22px;
}

/* Backdrop */
.drawer-backdrop{
  position: fixed; top:0; right:0; bottom:0; left:0;
  background: rgba(0,0,0,.5);
  z-index: 1055;
  opacity: 0; display: none;
  transition: opacity .2s ease;
}
.drawer-backdrop.in{ display:block; opacity:1; }
