#messages1_container{
	width:100%;
	background-color:#fff;
	text-align:left;
	padding:10px 10px 0px 20px;
}
#messages_inbox > div{min-width:100%;max-width: 100%;}
#messages_inbox > div > div:nth-child(3) {min-width: 5%;}
#messages_inbox > div > div:nth-child(5) {min-width: 100%;}

#messages1 {
	z-index: 11000;
	position: fixed;
	width: 90vw;
	max-width: 800px;
	height: 80vh;
	display: none;
	align-items: flex-start;
	justify-content: center;
	overflow: auto;
	background: white;
	padding-bottom: 2px;
}
#messages1.show {
	display: flex;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	box-shadow: 0 0 5px 5px rgba(0,0,0,0.5);
}

#messages_one{
	z-index: 11000;
	position: fixed;
	opacity: 1;
	top: 0px;
	width: 90vw;
	height: 80vh;
	align-items: flex-start;
	overflow: auto;
	display: none !important;
	background: white;
	max-width: 800px;
}
#messages_one.show{
	display: flex !important;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	box-shadow: 0 0 5px 5px rgba(0,0,0,0.5);
	position: relative;
	position: fixed;
}

#messages_success, #messages_failure{
	display: none !important;
	position: fixed;
	top: 50%;
	left: 50%;
	box-shadow: 0 0 15px rgba(0,0,0,0.6);
	transform: translate(-50%, -50%);
}

#messages_success.show, #messages_failure.show{display: block !important;}

#messages_one_container{
	width:950px;
	background-color:#fff;
	text-align:left;
	padding:10px;
	max-width: 100%;
}

#messages_one_info * {
	max-width: 100%;
	height: auto;
	max-height: max-content !important;
}
#messages_one_container {
	width: 950px;
	background-color: #fff;
	text-align: left;
	padding: 10px;
	max-width: 100%;
	height: 100%;
}

#messages_inbox > div > div:nth-child(5) > :nth-child(4n) {
	display: block;
	padding: 6px;
}
#messages_inbox > div > div:nth-child(5) > div {
	float: unset !important;
	display: inline-block;
	vertical-align: top;
}
#messages_inbox > div > div:nth-child(5) > div:nth-child(4n+1) {
	max-width: 64%;
}
#messages_inbox {
	background-color: #efefef;
	margin: 0px 20px;
	padding: 10px;
	overflow: hidden;
	max-height: 60vh;
}
#messages_inbox > div > div {
	max-height: unset !important;
}
#messages_inbox > div {
	min-width: 100%;
	max-width: 100%;
	max-height: calc(60vh - 20px);
	overflow: hidden;
}
#messages_inbox > div > div:nth-child(5) {
	height: calc(56vh - 1.5em );
	overflow: auto;
}
@media only screen and (max-width:400px){
	#messages_inbox > div > div:nth-child(5) > div:nth-child(4n+1) {
		max-width: 100%;
		width: 100% !important;
	}		
	#messages_inbox > div > div:nth-child(5) > div:nth-child(4n+2) {
		min-width: 150px;
		font-size:small;
	}		
	#messages_inbox > div > div:nth-child(5) > :nth-child(4n) {
		display: block;
		border-bottom: 2px solid lightgray;
		margin: 11px 0;
	}

}