.list > div {
	width: 100%;
	display: inline-block;
}

.list > div:nth-child(1) {
	height: 50px;
	padding: 10px;
	border-bottom: 1px solid #e7eaf3;
}

.list > div:nth-child(1) > h2 {
	color: #AC80FF;
	margin-block-start: 2px;
	margin-block-end: 0px;
}

.list > div:nth-child(1) > span {
	font-size: 14px;
	font-weight: 500;
	display: inline-block;
	transform: translateY(-3px);
}

.list > div:nth-child(2) {
	height: 32px;
	background-color: #eff1f7;
	border-bottom: 1px solid #e7eaf3;
	text-align: right;
}

.list > div:nth-child(2) > button {
	margin: 9px;
	border: none;
	background-color: transparent;
	color: #AC80FF;
	border-bottom: 1px dotted #AC80FF;
	padding: 0px;
	cursor: pointer;
	transition: 30ms ease-in;
}

.list > div:nth-child(2) > button:focus {
	outline: none;
}

.list > div:nth-child(2) > button:hover {
	opacity: 0.7;
}

.list > div:nth-child(3) {
	width: 100%;
	height: calc(100vh - 160px);
	overflow: auto;
}

.mail-item {
	border: none;
	text-align: left;
	text-decoration: none;
	border-bottom: 1px solid #e7eaf3;
	padding-bottom: 12.5px;
	position: relative;
	cursor: pointer;
	transition: 75ms ease-in-out;
	display: inline-block;
	width: calc(100% - 10px);
	padding-left: 10px;
}

.mail-item:hover {
	background-color: #E7E7EF;
}

.active-mail-item {
	background-color: #E7E7EF;
}

.mail-item:focus {
	outline: none;
}

.mail-item:active {
	color: #000;
}

.mail-item > h6 {
	font-size: 13px;
	text-decoration: none;
	border-bottom: 1px dotted #AC80FF;
	font-weight: 400;
	color: #AC80FF;
	display: inline-block;
	max-width: 100px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-block-start: 10px;
	margin-block-end: 5px;
	transition: 50ms ease-in-out;
}

.mail-item > span:nth-of-type(1) {
	font-weight: bold;
	display: inline-block;
	font-size: 14px;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #000;
}

.mail-item > span:nth-of-type(2) {
	font-size: 14px;
	width: 100%;
	display: inline-block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: rgb(134, 134, 143);
}

.mail-item > span:nth-of-type(3) {
	position: absolute;
	top: 12.5px;
	right: 10px;
	display: inline-block;
	font-size: 12px;
	color: rgb(195, 194, 207);
}

.loading {
	text-align: center;
	height: 52px;
	transform: translateY(calc((100vh - 212px) / 2));
}

.loading > i {
	font-size: 25px;
	color: #bec1c9;
}

.loading > h5 {
	margin-block-start: 10px;
	margin-block-end: 0px;
	color: #6b6d72;
}

.empty {
	text-align: center;
	width: 100%;
	display: inline-block;
	height: 85px;
	transform: translateY(calc((100vh - 245px) / 2));
}

.empty > img {
	width: 80px;
}

.empty > h4 {
	margin-block-start: 5px;
	margin-block-end: 0px;
	color: #6b6d72;
}

.sent {
	background-color: #F9F9F9;
	width: 100%;
	min-height: 100%;
}

.sent > div {
	height: calc(100% - 30px);
	display: inline-block;
	background-color: #fff;
	margin: 15px;
	border-radius: 5px;
	box-shadow: 0 0 35px rgba(127,150,174,.125);
	border: 1px solid #e7eaf3;
}

.sent > div > div:nth-child(1) {
	padding: 15px;
	height: 50px;
}

.pst > div > div:nth-child(1) {
	height: auto;
}

.sent > div > div:nth-child(1) > h2 {
	color: #AC80FF;
	margin-block-start: 2px;
	margin-block-end: 0px;
}

.sent > div > div:nth-child(1) > span {
	font-size: 14px;
	font-weight: 500;
	display: inline-block;
	transform: translateY(-3px);
	max-width: 500px;
	line-height: 20px;
}

.sent > div > div:nth-child(2) {
	height: auto;
	max-width: 1080px;
}

.sent-table-link {
	color: #AC80FF;
	text-decoration: none;
	border-bottom: 1px dotted #AC80FF;
	transition: 75ms ease-in-out;
}

.sent-table-link:hover {
	opacity: 0.7;
}

.contacts > div > div:nth-child(1) {
	min-height: 95px;
}

.contacts > div:nth-child(1) button {
	display: inline-block;
	width: 100%;
	font-size: 16px;
	background-color: transparent;
	border: 2px solid #AC80FF;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-block-start: 10px;
	border-radius: 5px;
	color: #AC80FF;
	font-weight: 500;
	cursor: pointer;
	transition: 75ms ease-in-out;
}

.contacts > div:nth-child(1) button:hover {
	background-color: #AC80FF;
	color: #fff;
}

.contacts > div:nth-child(1) button:focus {
	outline: none;
}

.contacts > div > div:nth-child(2) {
	display: inline-block;
	width: 100%;
	height: 35px;
	background-color: #eff1f7;
	border-bottom: 1px solid #e7eaf3;
}

.contacts > div > div:nth-child(2) > h4 {
	font-size: 15px;
	margin-block-start: 7px;
	color: #AC80FF;
	font-weight: 400;
	border-bottom: 1px dotted #AC80FF;
	display: inline-block;
	margin-left: 10px;
}

.contacts > div > div:nth-child(3) {
	height: auto;
	padding: 5px 15px 5px 10px;
}

.loading-contacts {
	transform: translateY(10px) !important;
	padding-bottom: 10px !important;
}

.empty-contacts {
	transform: translateY(10px) !important;
	padding-bottom: 5px;
}

.empty-contacts > i {
	color: #AC80FF;
	font-size: 24px;
}

.contact-item {
	text-align: left;
	border-radius: 5px !important;
	border-color: #e7eaf3 !important;
	margin-bottom: 10px;
}

.contact-item:hover {
	background-color: #E7E7EF !important;
}

.contact-item:hover span {
	color: #AC80FF;
}

.contact-item > div:nth-child(1) {
	width: 80px;
	height: 100%;
	display: inline-block;
	vertical-align: middle;
}

.contact-item > div:nth-child(1) > img {
	width: 50px;
	height: 50px;
	border-radius: 25px;
	vertical-align: middle;
}

.contact-item > div:nth-child(2) {
	width: calc(100% - 80px);
	height: 100%;
	display: inline-block;
	vertical-align: top;
}

.contact-item > div:nth-child(2) > span {
	font-size: 18px;
	margin-block-start: 17px;
	display: inline-block;
}

@media screen and (max-width: 1350px) {
	.sent > div > div:nth-child(2) {
		max-width: calc(100vw - 235px);
	}
}

@media screen and (max-width: 1060px) {
	.sent > div > div:nth-child(2) {
		max-width: calc(100vw - 175px);
	}
}

@media screen and (max-width: 900px) {
	.sent > div > div:nth-child(2) {
		max-width: calc(100vw - 35px);
	}
}

@media screen and (max-width: 760px) {
	.mail-item {
		display: inline-block;
		width: 200px;
		white-space: normal;
		border-left: 1px solid #E7E7EF;
		padding-right: 10px;
	}
	.list > div:nth-child(1) {
		width: calc(100% - 20px);
	}
	.list > div:nth-child(3) {
		width: 100%;
		height: 100px;
		overflow-x: scroll;
		white-space: nowrap;
	}
	.empty {
		transform: translateY(20px);
	}
	.empty > img {
		width: 40px;
	}
	.loading {
		transform: translateY(20px);
	}
}
