/* mobile */
@media screen and (max-width: 767px) {
	.replyBtn {
		margin-left: 0px !important;
		margin-top: 8px;
	}
	.button-row {
		display: flex;
		flex-direction: column !important;
		text-align-last: center !important;
		text-align: -webkit-center !important;
	}
	.back-button-row {
		flex-direction: column !important;
		justify-content: center !important;
		text-align: -webkit-center !important;
	}
	.archive-reply-button-row {
		flex-direction: column !important;
		justify-content: center !important;
		text-align: -webkit-center !important;
	}
	.messageRight hr {
		display: block;
		position: relative;
		padding: 0;
		margin: 8px auto;
		height: 0;
		width: 100%;
		max-height: 0;
		margin-top: 0px !important;
		font-size: 1px;
		line-height: 0;
		clear: both;
		border: none;
		border-top: 1px solid #aaaaaa;
		border-bottom: 1px solid #ffffff;
	}
	.messageRight .fullwidthCompose {
		border-collapse: separate !important;
		border-spacing: 2px 15px;
	}
	.messageTab .row {
		margin-right: 0px !important;
		margin-left: 0px !important;
	}
	.messageCenterMain .columnA {
		display: block !important;
	}
	.messageLeftTabClicked a {
		margin-left: 0px;
	}
	.inbox .messageLeftTabClicked, .sent .messageLeftTabClicked, .archive .messageLeftTabClicked {
		width: 100% !important;
	}
	.inbox .messageLeftTabClicked, .archive .messageLeftTab {
		margin-left: 0px !important;
	}
	.archive .messageLeftTabClicked {
    	text-align: end !important;
	}
	.messageCenter hr {
		margin-left: 0px !important;
		width: 100% !important;
	}
	.subject, .subjectmatter {
    	width: 42% !important;
    	text-align: center;
	}
	.messageRight .select {
    	width: 30% !important;
	}
	.recieved, .datefont, .sentMessage, .sentDate {
    	width: 30% !important;
	}
	.inboxTabMobileView {
		display: flex;
    	text-align-last: start;
	}
	.archiveTabMobileView {
		display: flex;
		justify-content: flex-end;
		place-content: flex-end;
	}
	.composeTabMobileView {
		padding-right: 0px !important;
		display: flex;
		justify-content: flex-end;
		place-content: flex-end;
	}
	.attachmentadd {
		margin-right: 5px;
	}
	.messageRight {
		border-style: unset !important;
	}
	.messageRight span {
		margin-top: 10px;
	}
	.messageCenterTitle {
		margin-left: 5px;
		margin-bottom: -4px;
	}
	.contentMessageCenter {
		margin-left: 0px;
	}
	.checkboxhead {
		margin-left: 10px;
	}
	.attachmentimg {
		width: 13px;
	}
	.frommatter, .priorityContent, .inboxpagespace, .from, .priority, .fromarchive, .frommatterarchive,
 	.sentMessageOpenClose, .sentMessageOpenCloseMatter, .displayMessage, .priorityarchive, .priorityarchiveContent {
		display: none;
	}
	.subjectarchive, .subjectmatterarchive {
		width: 50%;
		text-align: center !important;
	}
	.recievedarchive, .recievedmatterarchive {
		width: 50%;
		text-align: center !important;
	}
	.archive hr {
		margin-left: -16px !important;
	}
	.to, .toMatter {
		width: 33% !important;
	}
	.sentMessage, .sentDate {
		width: 33% !important;
	}
	.sentMessageSubject, .sentSubjectmatter {
		width: 33% !important;
		text-align: center !important;
	}
	.sentBox .fullwidth {
		margin-left: 4px !important;
		width: 100% !important;
	}
	.sentBox hr {
		margin: 0px 0px 0px -5px !important;
	}
	.senthr hr {
		width: 100% !important;
		margin: 0px 0px 0px -1px !important;
	}
	.composeTo .toDropdown {
		margin-top: 30px;
		width: 327px;
		margin-left: -50px;
	}
	.subjectCompose .subjectDropdown {
		margin-top: 30px;
		width: 327px;
	}
	.messageCompose .messageTextArea {
		width: 326px !important;
		margin-left: 3px !important;
		margin-top: 25px !important;
	}
	.messageRight .attachmentCompose, .chooseCompose {
		font-size: 14px !important;
	}
	.messageRight .chooseCompose {
		width: 200px;
	}
	.buttonSendCancel .cancelbutt {
		width: 70px !important;
		margin-left: 20px;
		font-size: 11px;
		display: initial;
	}
	.buttonSendCancel {
		display: flex;
		justify-content: space-between;
	}
	.backArchiveButtons {
		justify-content: space-between;
		display: flex;
   		flex-direction: column-reverse;
	}
	.buttonSendCancel .sendbutt {
		width: 70px !important;
		border-radius: 100px;
		font-weight: 700;
		font-size: 11px;
		display: initial;
	}
	.reply-button {
		width: 70px;
		font-size: 11px;
	}
	.archive-button {
		width: 70px;
		font-size: 11px;
		padding: 6px 0px !important;
	}
	.backbutt {
		width: 70px !important;
		font-size: 11px;
		display: initial;
	}
	.composeMessage .messageRight {
    	width: 88% !important;
 		margin-left: 6%!important;
    	margin-right: 6% !important;
		float: unset !important;
		font-size: 14px;
	}
	.fullWidthCompose {
    	width: 100% !important;
	}
	.composeMessage  td {
		margin-top: 10px;
	}
	.composeMessage .messageRight label {
    	margin-right: 5px !important;
	}
	.composeMessage .messageTextArea {
		width: 100% !important;
		margin-top: 8px;
		margin-bottom: 17px;
		font-size: 14px !important;
	}
	.composeMessage .divAsTextarea {
		width: 100% !important;
		margin-top: 8px;
		margin-bottom: 17px;
	}
	.composeMessage img {
		width: 70px !important;
	}
	.viewMessage .messageRight {
    	width: 88% !important;
 		margin-left: 6%!important;
    	margin-right: 6% !important;
		float: unset !important;
		font-size: 14px;
	}
	.fullWidthViewMessage {
    	width: 100% !important;
	}
	.viewMessage .messageRight label {
    	margin-right: 5px !important;
	}
	.viewMessage  td {
		margin-top: 10px;
	}
	.viewMessage .messageTextArea {
		width: 100% !important;
		margin-top: 8px;
		margin-bottom: 17px;
		font-size: 14px !important;
	}
	.viewMessage .divAsTextarea {
		width: 100% !important;
		margin-top: 8px;
		margin-bottom: 17px;
	}
	.viewMessage img {
		width: 70px !important;
	}
	.viewMessageOpen {
		width: 70px !important;
		font-size: 11px;
		border-radius: 100px;
		font-weight: 700;
		display: initial;
	}
	.paddingViewMessageOpen {
		padding-top: 5px !important;
	}
	.hidetd {
		display: none !important;
	}
	.attachmentName td {
		font-size: 13px;
		vertical-align: middle !important;
	}
	.back-reply-archive-button-row {
    	display: flex;
    	flex-direction: column;
    	align-items: center;
    	place-items: center;
    	text-align: center;
	}
	.archivebutton {
    	justify-content: center !important;
    	place-content: center !important;
	}
}

/* tablet */
@media screen and (min-width:768px) and (max-width: 1023px) {
	.messageCompose {
		display: flex;
	}
	.messageRight hr {
		display: block;
		position: relative;
		padding: 0;
		margin: 8px auto;
		height: 0;
		width: 100%;
		max-height: 0;
		margin-top: 0px !important;
		font-size: 1px;
		line-height: 0;
		clear: both;
		border: none;
		border-top: 1px solid #aaaaaa;
	}
	.messageRight .fullwidthCompose {
		border-collapse: separate !important;
		border-spacing: 45px 15px;
	}
	.messageCenterTitle {
		margin-left: 15px;
		margin-bottom: 10px;
	}
	.subject, .subjectmatter {
    	width: 42% !important;
    	text-align: center;
	}
	.messageRight .select {
    	width: 30% !important;
	}
	.recieved, .datefont, .sentMessage, .sentDate {
    	width: 30% !important;
	}
	.frommatter, .priorityContent, .from, .priority, .inboxpagespace, .fromarchive, 
	.sentMessageOpenClose, .sentMessageOpenCloseMatter, .frommatterarchive, .displayMessage, .priorityarchive, .priorityarchiveContent {
		display: none;
	}
	.subjectarchive, .subjectmatterarchive {
		width: 50%;
		text-align: center !important;
	}
	.recievedarchive, .recievedmatterarchive {
		width: 50%;
		text-align: center !important;
	}
	.contentMessageCenter {
		margin-left: 18px;
	}
	.datefont {
		text-align: left;
	}
	.checkboxhead {
		margin-left: 5px;
	}
	.attachmentadd {
		font-size: 10px:
	}
	.footer {
		font-size: 20px;
	}
	.messageRight {
		border-style: unset !important;
	}
	.attachment {
		width: 10%;
	}
	.messageCenterMain .footerPortletContainer {
		margin-top: 30px;
	}
	.messageCenterMain .columnA .groupBox {
		display: block !important;
	}
	.archive hr {
		margin: 0px 0px 0px -46px !important;
		width: 100% !important;
	}
	.messageRight .fullwidthArchive {
		margin-left: 60px !important;
	}
	.sentBox .fullwidth {
		margin-left: 55px !important;
		width: 100% !important;
	}
	.sentBox hr {
		margin: 0px 0px 0px -35px !important;
		width: 96% !important;
	}
	.senthr hr {
		width: 100% !important;
		margin: 0px 0px 0px 19px !important;
	}
	.to, .toMatter {
		width: 33% !important;
	}
	.sentMessage, .sentDate {
		width: 33% !important;
	}
	.sentMessageSubject, .sentSubjectmatter {
		width: 33% !important;
		text-align: center !important;
	}
	.composeTo .toDropdown {
		width: 500px;
	}
	.subjectCompose .subjectDropdown {
		width: 500px;
	}
	.archivebutt {
		margin-top: 15px;
	}
	.buttonSendCancel .cancelbutt, .sendbutt {
		width: 90px;
	}
	.buttonSendCancel .cancelbutt {
		margin-left: 440px;
		margin-bottom: -50px;
		font-weight: 700;
		display: initial;
	}
	.buttonSendCancel .sendbutt {
		width: 90px;
		height: 36px;
		margin-left: 540px;
		border-radius: 100px;
		font-weight: 700;
	}
	.reply-button {
		width: 90px;
	}
	.archive-button {
		width: 90px;
	}
	.backbutt {
		width: 90px !important;
	}
	.composeMessage .messageRight {
    	width: 88% !important;
 		margin-left: 6%!important;
    	margin-right: 6% !important;
		float: unset !important;
		font-size: 14px;
	}
	.fullWidthCompose {
    	width: 90%;
 		margin-left: 5%;
    	margin-right: 5%;
	}
	.composeMessage .messageRight label {
    	margin-right: 5px !important;
	}
	.composeMessage .messageTextArea {
		width: 100% !important;
		margin-top: 8px;
		margin-bottom: 17px;
		font-size: 14px !important;
	}
	.composeMessage .divAsTextarea {
		width: 100% !important;
		margin-top: 8px;
		margin-bottom: 17px;
	}
	.viewMessage .messageRight {
    	width: 88% !important;
 		margin-left: 6%!important;
    	margin-right: 6% !important;
		float: unset !important;
		font-size: 14px;
	}
	.fullWidthViewMessage {
    	width: 90%;
 		margin-left: 5%;
    	margin-right: 5%;
	}
	.viewMessage .messageRight label {
    	margin-right: 5px !important;
	}
	.viewMessage .divAsTextarea {
		width: 100% !important;
		margin-top: 8px;
		margin-bottom: 17px;
	}
	.viewMessage .messageTextArea {
		width: 100% !important;
		margin-top: 8px;
		margin-bottom: 17px;
		font-size: 14px !important;
	}
	.viewMessage .archivefolder img {
		width: 30px !important;
	}
	.viewMessageOpen {
	    width: 90px;
		height: 36px;
		margin-left: 540px;
		border-radius: 100px;
		font-weight: 700;
	}
}

/* laptop */
@media screen and (min-width:1024px) {
	.messageCompose {
		display: flex;
	}
	.messageiconimg {
		display: none !important;
	}
	.composeimg, .archiveimg, .archivefolder {
		display: none;
	}
	.messageCenterMain .columnA .groupBox {
		display: block !important;
		position: unset !important;
	}
	.messageRight hr {
		display: block;
		position: relative;
		padding: 0;
		margin: 8px auto;
		height: 0;
		margin-top: 0px !important;
		width: 100%;
		margin-left: 10px;
		max-height: 0;
		font-size: 1px;
		line-height: 0;
		clear: both;
		border: none;
		border-top: 1px solid #aaaaaa;
		border-bottom: 1px solid #ffffff;
	}
	.composeMessage .messageRight {
    	width: 88% !important;
 		margin-left: 6%!important;
    	margin-right: 6% !important;
		float: unset !important;
		font-size: 14px;
	}
	.fullWidthCompose {
    	width: 90%;
 		margin-left: 5%;
    	margin-right: 5%;
	}
	.composeMessage .messageTextArea {
		width: 100% !important;
		margin-top: 8px;
		margin-bottom: 17px;
		font-size: 14px !important;
	}
	.composeMessage .divAsTextarea {
		width: 100% !important;
		margin-top: 8px;
		margin-bottom: 17px;
	}
	.composeMessage .messageRight label {
    	margin-right: 10px !important;
	}
	.viewMessage .messageRight {
   	 	width: 88% !important;
 		margin-left: 6%!important;
    	margin-right: 6% !important;
		float: unset !important;
		font-size: 14px;
	}
	.fullWidthViewMessage {
    	width: 90%;
 		margin-left: 5%;
    	margin-right: 5%;
	}
	.viewMessage .messageRight label {
    	margin-right: 10px !important;
	}
	.viewMessage .messageTextArea {
		width: 100% !important;
		margin-top: 8px;
		margin-bottom: 17px;
		font-size: 14px !important;
	}
	.viewMessage .divAsTextarea {
		width: 100% !important;
		margin-top: 8px;
		margin-bottom: 17px;
	}
	.messageCenterOuterContainer {
		margin-bottom: 50px !important;
	}	
	.archive hr {
		margin: 0px 0px 0px -81px !important;
		width: 108% !important;
	}
	.messageRightArchive hr {
		margin-left: -6px !important;
		width: 100% !important;
	}
	.fromarchive, .frommatterarchive {
		width: 25%;
	}
	.priorityarchive, .priorityarchiveContent {
		width: 25%;
	}
	.subjectarchive, .subjectmatterarchive {
		width: 25%;
		text-align: center;
	}
	.recievedarchive, .recievedmatterarchive {
		width: 25%;
		text-align: right;
	}
	.from, .frommatter {
		width: 22%;
	}
	.priority, .priorityContent {
		width: 22%;
	}
	.archive {
		font-size: 16px;
	}
	.sent {
		font-size: 16px;
	}
	.footer {
		margin-top: 50px;
	}
	.messageRight {
		border-style: unset !important;
	}
	.checkboxhead {
		margin-left: 10px;
	}
	.messageCenterTitle {
		margin-left: 0px;
		margin-bottom: 10px;
	}
	.messageRight .fullwidthArchive {
		margin-left: 95px !important;
		width: 90% !important;
	}
	.messageRight .fullwidthCompose {
		border-collapse: separate !important;
		border-spacing: 75px 20px !important;
	}
	.composeTo .toDropdown {
		width: 600px;
	}
	.subjectCompose .subjectDropdown {
		width: 600px !important;
	}
	.inbox .messageLeftTabClicked {
		margin-left: 0px;
	}
	.messageRight .attachmentCompose, .chooseCompose {
		font-size: 14px !important;
	}
	.buttonSendCancel .sendbutt, .cancelbutt {
		width: 90px;
	}
	.buttonSendCancel .sendbutt {
		margin-left: 745px;
		border-radius: 100px;
		font-weight: 700;
	}
	.buttonSendCancel .cancelbutt {
		margin-left: 645px;
		margin-bottom: -47px;
		border-radius: 100px;
		border-width: 2px;
	}
	.reply-button {
		width: 90px;
	}
	.archive-button {
		width: 90px;
	}
	.backbutt {
		width: 90px !important;
	}
	.backbutt:hover {
	    background-color: #e2e6ea;
	    color: #2e6da4;
	}
	.toCompose .tocomposeReply {
		margin-left: 50px;
	}
}

/* XL laptop */
@media screen and (min-width:1200px) {
	.messageCenterOuterContainer {
		margin-bottom: 110px !important;
	}	
}

.messageLeftTab a:visited, .messageLeftTab a:link,
	.messageLeftTabClicked  a:link {
	color: #575757 !important;
}

.messageLeftTabClicked a:visited {
	color: #2662de !important;
}

.messageCenterMain .wlp-bighorn-window-content {
	background-color: white !important;
	overflow: hidden !important;
}

div.messageLeftTabClicked {
	border-bottom: 1px solid #2662de;
}

.messageLeftTab, .messageLeftTabClicked {
	text-align: center;
}

.messageCenterTitle {
	font-size: 32px;
	color: #1e448a;
	font-family: verdana;
	margin-top: 25px;
}
.messageCenterTitleContainer {
	padding-left: 5px;
	padding-bottom: 7px;
	padding-top: 7px;
}
.titleColumn .htmlHeaderPageTitle {
	font-size: 24px;
	font-weight: 700;
}

.recieved, .subject, .subjectmatter, .fromarchive, .subjectarchive, .to, .toMatter,
.recievedarchive, .frommatterarchive, .subjectmatterarchive, datefont, .sentMessageSubject, .sentSubjectmatter,
.recievedmatterarchive, .priorityarchive, .priorityarchiveContent, .sentMessage, .sentDate,
.priority, .priorityContent, .from, .frommatter, .sentMessageOpenClose, .sentMessageOpenCloseMatter,
.recieved, .datefont, .sentMessage, .sentDate  {
	font-size: 14px;
}

.messageRight {
	width: 100% !important;
}

.messageCenter hr {
	display: block;
	position: relative;
	padding: 0;
	margin: 8px auto;
	height: 0;
	margin-top: 0px !important;
	width: 100%;
	max-height: 0;
	font-size: 1px;
	line-height: 0;
	clear: both;
	border: none;
	border-top: 1px solid #aaaaaa;
	border-bottom: 1px solid #ffffff;
}

.messageRight .fullwidth {
	border-collapse: separate !important;
	border-spacing: 2px 15px;
	margin-top: -10px !important;
}

.messageRight .fullwidthArchive {
	border-collapse: separate !important;
	border-spacing: 2px 15px;
	margin-left: 20px;
	width: 97%;
}

.messageCenterMain {
	overflow: hidden !important;
}

.messageTab {
	font-size: 16px !important;
}

.messageRight .select {
	font-size: 14px;
	width: 12%;
}

.subject, .subjectmatter {
	width: 22%;
	text-align: center;
}

.recieved, .datefont, .sentMessage, .sentDate {
	width: 22%;
	text-align: right;
}

.to, .toMatter {
	width: 25%;
}

.sentMessageOpenClose, .sentMessageOpenCloseMatter {
	width: 25%;
}

.sentMessageSubject, .sentSubjectmatter {
	width: 22%;
}

.sentBox .fullwidth {
	font-size: 14px;
	margin-left: 76px;
	width: 100%;
}

.sentBox hr {
	margin: 0px 0px 0px -60px;
}

.displayMessage {
	display: none;
}

.messageRight .composeTo {
	float: left !important;
	margin-left: 48px !important;
}

.messageRight .toCompose, .subjectCompose, .messageCompose {
	font-size: 14px;
}

.messageRight .composesubject {
	float: left !important;
}

.viewMessage .divAsTextarea {
	font-size: 14px;
}

.viewMessage .messageTextArea {
	font-size: 14px;
	margin-top: 4px;
}

.viewMessage img {
	width: 90px;
}

.fileName {
	word-break: break-word;
}

.replyBtn {
	margin-left: 35px;
}
.reply-button {
	border-radius: 100px;
	font-weight: 700;
}
.archive-button {
	border-radius: 100px;
	font-weight: 700;
}
.back-button-row {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
}

.archive-reply-button-row {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
}

.attachmentsLabel {
	font-weight: 700;
	font-size: 14px;
}
.removeButton {
	width: 16px !important;
	margin-left: 5px;
	border: none !important;
}
.cancelbutt {
	background-color: #fff;
	border-color: #2262de;
	color: #2262de;
	border-radius: 100px;
	font-weight: 700;
	border-width: 2px;
}
.buttonSendCancel .cancelbutt:hover {
	background-color: #e2e6ea;
	color: #2262de;
}
.backbutt{
	background-color: #fff;
	border-color: #2262de;
	color: #2262de;
	border-radius: 100px;
	font-weight: 700;
	border-width: 2px;
}
.buttonSend {
	width:90px;
}
a.button:visited {
	color: #fff !important;
}
.btn-primary {
	background-color: #1e448a;
    border-color: #1e448a !important;
	border-width: 2px !important;
}
.archivebutton {
	display: flex;
    width: 100%;
    justify-content: flex-end;
    place-content: flex-end;
	margin-top: 40px;
}
div.toCompose font span, div.composesubject font span, div.messageCompose font{
	color: #940000 !important;
}
.viewMessageOpen {
	margin-left: 0px;
	margin-top: 0px !important;
	border-radius: 100px;
	font-weight: 700;
	width: 90px;
}
.paddingViewMessageOpen {
/* 	padding-top: 10px;
 */}
.messageCenterContainer {
    flex: 1 0 auto;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: 0;
    margin-left: 0;
    max-width: 945px;
    height: 100%;
    align-self: center;
    place-self: center;
}
.messageCenterOuterContainer {
	margin-top: 65px !important;
	margin-bottom: 25px;
}
.messageCenterTabContainer {
	width: 100%;
    display: flex;
    justify-content: center;
    place-content: center;
    height: 100%;
}
.archivebutt {
	min-width: 80px;
	border-radius: 100px;
	font-weight: 700;
	padding: 6px 10px;
}
.back-reply-archive-button-row {
    width: 100%;
}
.messageCenterInstructions {
	font-size: 15px;
}
.inboxTabMobileView {
	padding-left: 0px;
}
.archiveTabMobileView {
	padding-right: 0px;
}
.composeTabMobileView {
	padding-right: 0px;
}
.messageTab .row {
	width: 100%;
}
.noMessageToDisplay {
	text-align: center;
}
.paddingLeftMessageMenu {
	padding-left: 0px !important;
}