.container, .container-fluid, body {
	background: #f2f2f2;
	font-family: 'Open Sans', sans-serif;
	padding-left:0;
	padding-right:0;
}

a{
	color: inherit;	
}

a:hover{
	text-decoration:none;
		color: inherit;	

}

.msg {
	padding: 1em;
	background: white;
	margin-bottom: 2em;
}
.toavatar img, .fromavatar img {
	width: 3.5em;
	height: 3.5em;
	float: left;
	margin-right: 10px;
	background-color: light-blue;
}
.ton, .fromn {
	background: #FFFF99;
	border-left: #33CCFF 0.6em solid;
	padding: 0.2em 0.45em;
	border-radius: 0.4em;
	font-weight: bold;
	color: #333;
	float: left;
	font-size: 1em;
}
.fromn {
	font-size: 0.8em;
}
.loc {
	float: right;
	padding: 0px 0.4em;
	border-radius: 0.4em;
	font-weight: bold;
	border: 0.2em solid white;
	box-shadow: 0px 0px 0.2em grey;
}

.city{
	background-color: #0066CC;
	color: white;	
}

.aweg {
	background-color: #C00;
	color: white;
}

.nweg {
	background-color: #FFCC33;
	color: #666;
}

.eweg{
	background-color: #66CC33;
	color: white;
}

.toname, .tocar, .fromtime, .fromname, .noname {
	font-size: 12px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.tocar, .fromtime {
	color: #aaa;
}
.rowh {
	padding-top: 0.4em;
	width: 100%;
	height: 2em;
	position: relative;
}
.rowb {
	width: 100%;
	height: 1.5em;
	position: relative;
}
.rowb:last-child {
	height: 2em;
}
.balloon {
	background-color: #f0f0f0;
	margin: 0.7em 0 1.1em 0;
	padding: 0.7em 0.7em 0.4em 1.1em;
	border: 1px solid #DDD;
	position: relative;
		line-height:1.5em;

}
.balloon:before {
	content: ' ';
	position: absolute;
	width: 0;
	height: 0;
	bottom: -0.7em;
	left: 1.5em;
	border: 6px solid;
	border-color: #f0f0f0 transparent transparent #f0f0f0;
}



a.comments {
	background: url(img/iconmonstr-speech-bubble-9-icon.svg) no-repeat center;
	background-size: 30px 30px;
	width: 30px;
	color: white;
	padding: 0px 5px 5px 5px;
	font-size: 10px;
	opacity: 0.2;
}
a.comments:hover {
	color: black;
	opacity: 0.4;
}

.firstcomment a:hover{
	color:#777;
	text-decoration:none;
}	

.firstcomment a{
	color: inherit;
	font-size:0.9em;
}


.firstcomment{
	height: 2em;
	overflow:hidden;
}


.fadefirstcomment {
  position: relative;
  height: 3em; /* exactly three lines */
}
.fadefirstcomment:after {
  content: "";
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30%;
  height: 1.2em;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%);
}


.noname a{
	color: #33CCFF;	
}

.noname a:hover{
	text-decoration: underline;	
}

.nocomment input{
	width:100%;
	border:none;
	border-bottom:1px solid #eee;
	font-size:0.9em;
	margin:0.9em 0;	
}
