/* Sticky footer styles
-------------------------------------------------- */
@import url(https://fonts.googleapis.com/css?family=Raleway:400,300);

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,
body {
  /* The html and body elements cannot have any padding or margin. */
  background-color: #EEE;
  color: #333;
  font-family: 'Raleway';
  font-weight: 300;
  font-size: 20px;  
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body { position:absolute; top:0; bottom:0; right:0; left:0; }

/* Wrapper for page content to push down footer */
#wrap {
  /* Negative indent footer by its height */
	overflow:auto;
	padding: 10px;
	width: calc( 100% - 20px );
	height: calc( 100% - 20px );
	background-color: #FEFEFE;
	margin: 10px;
	position: relative;
}

#main {
	position: absolute;
	top: 0;
	left: 0;
	width: calc( 100% - 200px );
	height: 100%;
}

#sidebar {
	position: absolute;
	top: 0;
	right: 0;
	width: 200px;
	height: 100%;
}


.block {
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.13);
  border: 0;
  margin-bottom: 30px;
  background: #FFF;
  border-radius: 3px;
  -webkit-border-radius: 3px;
}

#messages {
	padding: 10px;
	overflow: auto;
	height: calc( 100% - 60px );
}

#sidebar .user {
	font-size: 2em;
}

#footer {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2em;
}

#footer input {
	border: 0;
	border-top: 2px dashed #eee;
	box-sizing: border-box;
	width: 100%;
	height: 2em;
	padding-left: 4px;
}

#footer textarea:focus, #footer input:focus{
    outline: 0;
}