#chat{
	position: absolute;
	background: gray;
	width: 220px;
	right: 0px;
	border-left:1px solid black;
	color: white;
    right: -20px;
    overflow: auto;
    padding: 0px;
    margin: 0px;
}

#chat #close{
	font-size: 30px;
}

#list{
	margin-top: 35px;
	padding: 0px;
}

#list li{
	list-style: none;
	padding: 5px;
	margin: 3px;
	border: 1px solid black;
	background: lightgray;
}

#list li:hover{
	background: gray;
	border: 1px solid lightgray;
}

#list li a{
	text-decoration: none;
	text-shadow: 1px 1px 1px black;
}

.pais a{
	color: black;
	text-shadow: none;
}

.familia a{
	color: white;
}

.primeira a{
	color: yellow;
}

.segunda a{
	color: green;
}

.terceira a{
	color: blue;
}

.quarta a{
	color: red;
}

#chat #close{
	width: 200px;
	position: fixed;
	background-color: gray;
}

#chat #name{
	position: absolute;
	top: 5px;
	right: 25px;
	width: 140px;
	height: 20px;
	background-color: lightgray;
	border: none;
	padding-left: 15px;
	background-image: url('../Imagens/search.png');
	background-repeat: no-repeat;
	background-position: 0px 2px;
}

#convercas{
	position: absolute;
	right: 0px;
	bottom: 0px;
	padding: 0px;
	overflow: auto;
}

#convercas > div{
	background: lightgray;
	display: inline-block;
	padding-bottom: 0px;
	padding: 0px;
	border: 1px solid black;
}

#convercas > div b{
	padding: 5px;
}

#convercas ul{
	width: 300px;
	height: 300px;
	margin: 5px;
	padding: 5px;
	border-top: 1px solid black;
	overflow-y: scroll;
}

#convercas ul li{
	list-style: none;
	width: 100%;
	max-width: 240px;
	padding: 5px;
	word-wrap:break-word;
	margin-bottom: 3px;
}

#convercas ul li.recived{
	margin-left: 10px;
	float: left;
	text-align: left;
	background-color: white;
	border-radius: 0px 10px 10px 10px;
}

#convercas ul li.sended{
	margin-right: 10px;
	float: right;
	text-align: right;
	background-color: #3366FF;
	border-radius: 10px 0px 10px 10px;
}

.closeChat{
	float: right;
	font-size:13px;
	margin-right:6px;
	background-color: darkred;
	color: white;
	height: 13px;
	text-align: center;
}

.closeChat:hover{
	background-color: red;
	color: white;
	cursor: pointer;
}

.minimize{
	margin-right:1px;
	float: right;
	font-size:16px;
	background-color: lightgray;
	color: black;
	height: 13px;
	text-align: center;
}

.minimize:hover{
	background-color: gray;
	color: white;
	cursor: pointer;
}

#convercas > div button{
	height: 35px;
}

.data{
	display:inline;
	margin: 0px;
	padding: 5px;
	font-size: 10px;
	color: black;
}

.text{
	position: relative;
	bottom: -13px;
	width: 262px;
    resize: none;
}

.readed{
	background-image: url('../Imagens/visto.png');
    background-size: 30px 10px;
    background-repeat: no-repeat;
    position: relative;
    top: 5px;
	color: transparent;
	display: inline;
}

.notReaded{
	background-image: url('../Imagens/naoVisto.png');
    background-size: 30px 10px;
    background-repeat: no-repeat;
    position: relative;
    top: 5px;
	color: transparent;
	display: inline;
}

.tForRead{
	position: absolute;
	display: inline;
	font-size: 13px;
	top: -10px;
	right: -8px;
	background: red;
	border-radius: 100%;
	width: 20px;
	height: 20px;
	text-align: center;
}

.forRead{
	position: relative;
	display: inline;
	font-size: 15px;
	top: 2px;
	left: 5px;
	background: red;
	border-radius: 100%;
	text-align: center;
}

#instantBox{
	position: absolute;
	right: 0px;
	display: block;
	max-width: 300px;
}

.instantMess{
	box-sizing:border-box;
	position: relative;
	width: 300px;
	height: 100px;
	background: green;
	border: 2px solid darkgreen;
}

.nome{
	position: absolute;
	top: 10px;
	left: 10px;
	text-decoration: bold;
}

.mensagem{
	position: absolute;
	top: 40px;
	left: 20px;
	max-width: 260px;
}

.closeInstant{
	width: 20px;
	height: 20px;
	position: absolute;
	top: 0px;
	right: 0px;
	color: black;
	text-align: center;
	cursor: pointer;
}

.chatMessMin{
	display: inline-block;
}